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

Docker redo #57

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

SuperSandro2000
Copy link

Closes #56

@@ -101,11 +101,19 @@ For compression, transcoding and minification options, see `compy --help`
Docker Usage
------------

Andrew Gaul publishes unofficial Docker images at
https://hub.docker.com/r/andrewgaul/compy/ . You can configure via:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need to remove this? Ideally casual users would not need to build the docker image.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't push to it. I could set it up in my docker image repo if you like.

@lolobosse
Copy link

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?

@SuperSandro2000
Copy link
Author

@lolobosse no clue, builds for me.

@3-w-c
Copy link

3-w-c commented Mar 26, 2022

@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.

@SuperSandro2000
Copy link
Author

@barnacs bump

@gaul gaul mentioned this pull request Apr 20, 2023
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 this pull request may close these issues.

better Dockerfile
4 participants