Repository navigation
Closed
Milestone
Description
The current Dockerfile can't be used to build the existing docs due to the lack of any CA certificates (due to the FROM scratch changes in 8531ec7):
$ docker run -t -v /tmp/hugo/docs:/site ad1eac37fc362fc7cfc335f9309500d5bddd6295 version
Hugo Static Site Generator v0.56.0-DEV linux/amd64 BuildDate: unknown
$ docker run -t -v /tmp/hugo/docs:/site ad1eac37fc362fc7cfc335f9309500d5bddd6295 serve
Building sites … ERROR 2019/05/18 05:29:52 Failed to get JSON resource "https://api.twitter.com/1/statuses/oembed.json?id=962380712027590657&dnt=false": Get https://api.twitter.com/1/statuses/oembed.json?id=962380712027590657&dnt=false: x509: certificate signed by unknown authority
ERROR 2019/05/18 05:29:52 Failed to get JSON resource "https://api.twitter.com/1/statuses/oembed.json?id=898398437527363585&dnt=false": Get https://api.twitter.com/1/statuses/oembed.json?id=898398437527363585&dnt=false: x509: certificate signed by unknown authority
ERROR 2019/05/18 05:29:52 Failed to get JSON resource "https://api.instagram.com/oembed/?url=https://instagram.com/p/BWNjjyYFxVx/&hidecaption=1": Get https://api.instagram.com/oembed/?url=https://instagram.com/p/BWNjjyYFxVx/&hidecaption=1: x509: certificate signed by unknown authority
ERROR 2019/05/18 05:29:52 Failed to get JSON resource "https://api.twitter.com/1/statuses/oembed.json?id=971755920639307777&dnt=false": Get https://api.twitter.com/1/statuses/oembed.json?id=971755920639307777&dnt=false: x509: certificate signed by unknown authority
ERROR 2019/05/18 05:29:52 Failed to get JSON resource "https://api.instagram.com/oembed/?url=https://instagram.com/p/BWNjjyYFxVx/&hidecaption=1": Get https://api.instagram.com/oembed/?url=https://instagram.com/p/BWNjjyYFxVx/&hidecaption=1: x509: certificate signed by unknown authority
ERROR 2019/05/18 05:29:53 Failed to get JSON resource "https://api.twitter.com/1/statuses/oembed.json?id=877500564405444608&dnt=false": Get https://api.twitter.com/1/statuses/oembed.json?id=877500564405444608&dnt=false: x509: certificate signed by unknown authority
ERROR 2019/05/18 05:29:53 Failed to get JSON resource "https://api.twitter.com/1/statuses/oembed.json?id=877500564405444608&dnt=false": Get https://api.twitter.com/1/statuses/oembed.json?id=877500564405444608&dnt=false: x509: certificate signed by unknown authority
ERROR 2019/05/18 05:29:53 Failed to get JSON resource "https://api.twitter.com/1/statuses/oembed.json?id=898398437527363585&dnt=false": Get https://api.twitter.com/1/statuses/oembed.json?id=898398437527363585&dnt=false: x509: certificate signed by unknown authority
ERROR 2019/05/18 05:29:53 Failed to get JSON resource "https://api.twitter.com/1/statuses/oembed.json?id=962380712027590657&dnt=false": Get https://api.twitter.com/1/statuses/oembed.json?id=962380712027590657&dnt=false: x509: certificate signed by unknown authority
ERROR 2019/05/18 05:29:53 Failed to get JSON resource "https://api.twitter.com/1/statuses/oembed.json?id=971755920639307777&dnt=false": Get https://api.twitter.com/1/statuses/oembed.json?id=971755920639307777&dnt=false: x509: certificate signed by unknown authority
ERROR 2019/05/18 05:29:53 Failed to get JSON resource "https://api.instagram.com/oembed/?url=https://instagram.com/p/BWNjjyYFxVx/&hidecaption=1": Get https://api.instagram.com/oembed/?url=https://instagram.com/p/BWNjjyYFxVx/&hidecaption=1: x509: certificate signed by unknown authority
ERROR 2019/05/18 05:29:53 Failed to get JSON resource "https://api.instagram.com/oembed/?url=https://instagram.com/p/BWNjjyYFxVx/&hidecaption=1": Get https://api.instagram.com/oembed/?url=https://instagram.com/p/BWNjjyYFxVx/&hidecaption=1: x509: certificate signed by unknown authority
ERROR 2019/05/18 05:29:53 Failed to get JSON resource "https://api.twitter.com/1/statuses/oembed.json?id=877500564405444608&dnt=false": Get https://api.twitter.com/1/statuses/oembed.json?id=877500564405444608&dnt=false: x509: certificate signed by unknown authority
ERROR 2019/05/18 05:29:53 Failed to get JSON resource "https://api.twitter.com/1/statuses/oembed.json?id=877500564405444608&dnt=false": Get https://api.twitter.com/1/statuses/oembed.json?id=877500564405444608&dnt=false: x509: certificate signed by unknown authority
Total in 1762 ms
Error: Error building site: logged 14 error(s)
Relates to #5056
Activity
dockerfile: Switch base image for final build
dockerfile: Switch base image for final build
github-actions commentedon Feb 18, 2022
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.