Open SuperSandro2000 opened 5 years ago
Hi @SuperSandro2000,
I get following exception with your docker:
Step 6/11 : RUN go build -ldflags='-extldflags "-static" -s -w' -o /go/bin/compy
---> Running in a13eac30d4ee
# _/root/go/src/github.com/barnacs/compy
/usr/local/go/pkg/tool/linux_amd64/link: running g++ failed: exit status 1
/usr/lib/gcc/x86_64-alpine-linux-musl/9.2.0/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -ljpeg
collect2: error: ld returned 1 exit status
Any clue?
@lolobosse no clue, builds for me.
@lolobosse I got the same problem, looks like something to do with Alpine's glibc
maybe? Switching to the non-Alpine Go image (i.e. 1.16
instead of 1.16-alpine
) fixed it for me. Updated PR incoming.
@barnacs bump
Closes #56