Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Docker build #4360

Merged
merged 1 commit into from
Jan 31, 2018
Merged

Fix Docker build #4360

merged 1 commit into from
Jan 31, 2018

Conversation

skoblenick
Copy link
Contributor

The present Dockerfile in master does not build a Hugo container. The
build container prematurely exits because dep ensure can not locate
Gopkg.toml due to the source files not being copied/added to the
container prior to running this command. The minimal change require
to resolve the issue is merely move the ADD source before the RUN dep.

Fixes #4076
Resolves #4077

The present Dockerfile in master does not build a Hugo container. The
build container prematurely exits because `dep ensure` can not locate
`Gopkg.toml` due to the source files not being copied/added to the
container prior to running this command. The minimal change require
to resolve the issue is merely move the ADD source before the RUN dep.

Fixes #4076
Resolves #4077
@skoblenick
Copy link
Contributor Author

While there are several PRs open for changes to fix and "improve" the Dockerfile the immediate concern should be to fix the existing code while improvements and changes to the file are undergoing consideration.

@bep bep merged commit a34213f into gohugoio:master Jan 31, 2018
@skoblenick skoblenick deleted the issue4076 branch January 31, 2018 14:52
@tonglil
Copy link

tonglil commented Feb 8, 2018

Is Hugo planning to publish an image on Docker Hub? If so, is there a timeframe

@bep
Copy link
Member

bep commented Feb 8, 2018

Is Hugo planning to publish an image on Docker Hub? I

No.

@github-actions
Copy link

github-actions bot commented Feb 7, 2022

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Docker build fails
3 participants