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

Building from current Dockerfile on Ubuntu 16.04 produces error. #56

Closed
freemanfromgodotengine opened this issue Apr 19, 2017 · 1 comment · Fixed by #57
Closed

Building from current Dockerfile on Ubuntu 16.04 produces error. #56

freemanfromgodotengine opened this issue Apr 19, 2017 · 1 comment · Fixed by #57

Comments

@freemanfromgodotengine
Copy link

When on Xubuntu 16.04 64-bit I run docker build -t todolist . I get at the end:

Step 8 : RUN go install github.com/gammons/todolist
 ---> Running in 8d7e755c5024
# github.com/gammons/todolist
/usr/lib/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
/usr/lib/gcc/x86_64-alpine-linux-musl/6.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find Scrt1.o: No such file or directory
/usr/lib/gcc/x86_64-alpine-linux-musl/6.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find crti.o: No such file or directory
/usr/lib/gcc/x86_64-alpine-linux-musl/6.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lpthread
/usr/lib/gcc/x86_64-alpine-linux-musl/6.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lssp_nonshared
collect2: error: ld returned 1 exit status
mikezter added a commit to mikezter/todolist that referenced this issue Apr 29, 2017
This frees us from having to deal with build issues like gammons#56.
@mikezter mikezter mentioned this issue Apr 29, 2017
@mikezter
Copy link
Contributor

I had the same issue, switching to golang:alpine fixed it. Hope you find that useful.

gammons pushed a commit that referenced this issue May 5, 2017
This frees us from having to deal with build issues like #56.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants