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

Hugo extended doesn't run on alpine #4961

Closed
dettmering opened this issue Jul 18, 2018 · 2 comments

Comments

Projects
None yet
2 participants
@dettmering
Copy link

commented Jul 18, 2018

I’m using Docker for building Hugo sites with GitLab CI. The Dockerfile can be found here: https://github.com/dettmering/hugo-build/blob/master/Dockerfile and the Docker image here: https://hub.docker.com/r/dettmering/hugo-build/

This worked perfectly until I decided to give the new extended version 0.44 a try. The only thing I changed was the name of the tarball so the _extended_0.44 tarball is downloaded.

Now, when I run the Docker container, I get /bin/sh: hugo: not found, even though the hugo binary is in the correct folder.

A hint comes from file hugo: hugo: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=7621f50844b0494c9fa7846a9e1366892aacf6c8, stripped

Apparently, Alpine can't run those dynamically linked executables. Can we get the hugo extended version to run on Alpine?

@bep

This comment has been minimized.

Copy link
Member

commented Jul 18, 2018

If Alpine cannot run dynamically linked executables, then the answer is currently no -- but I would be surprised if that was true. I'm pretty sure I tested it, but you need glibc. Take further question on the forum.

@bep bep closed this Jul 18, 2018

@dettmering

This comment has been minimized.

Copy link
Author

commented Jul 18, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.