-
Notifications
You must be signed in to change notification settings - Fork 260
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
Docker build failing #210
Comments
The image built on DockerHub works, but i am not sure what I missed while building it locally, shouldn't it just work? |
I recently had to make incompatible changes to the go interpreter, with corresponding changes to gophernotes - thus you cannot just mix arbitrary versions: each Actually, the main issue is
which points to the possible reason: |
Perhaps I did not fully understand what you mean. What i did:
Regarding having an earlier go version: I inserted |
Yes, the docker builds create an environment from scratch. What I meant is that maybe the |
what i can make out from the Dockerfile is this line adding go && apk --update-cache --allow-untrusted \
--repository http://dl-4.alpinelinux.org/alpine/edge/community \
--arch=x86_64 add \
go \ but i can't tell if the following lines are adding go, they don't seem to be adding another toolchain |
I can't tell either... not a Docker expert at all. |
Using Alpine 3.10 should work fine with its latest version of Go (1.14.3-r1).
Please update the Dockerfile.DS with the following codes: @line 1 @line 12, 13 @line 25, 26 @line 36 @line 67
|
awesome, thanks @cigoic that worked |
I have tried to build the Docker image locally both using Dockerfile and Dockerfile.DS but it seems to fail.
The build of gophernotes is failing on the go build command.
I tried changing the go interpreter to a previous version but got this:
without changing anything the error I am getting is this:
Tried building the image using docker on OSX and ubuntu.
The text was updated successfully, but these errors were encountered: