-
Notifications
You must be signed in to change notification settings - Fork 823
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
Image not building or working on Raspbian stable, Amazon Linux 1 or 2, CentOS 7 or 8, Debian stable, Ubuntu 14.04 or earlier #755
Comments
It's related to a network issue with alpine 3.13 : |
Hi. Could you please follow the repository's bug template ? Bug descriptionA clear and concise description of what the bug is. letsencrypt-nginx-proxy-companion image versionPlease provide the container version that should be printed to the first line of log at container startup: [you@yourhost]: $ docker logs companion-container-name
Info: running letsencrypt-nginx-proxy-companion version v2.0.0
[...] If this first log line isn't present you are using a nginx-proxy-companion configurationPlease provide the configuration (either command line, compose file, or other) of your nginx-proxy stack and your proxied container(s). You can obfuscate information you want to keep private (and should obfuscate configuration secrets) such as domain(s) and/or email adress(es), but other than that please provide the full configurations and not the just snippets of the parts that seem relevants to you. Containers logsPlease provide the logs of:
Docker host
|
@peimansh is this still an issue ? |
@buchdag Yes. |
I'll be honest, I don't entirely get the issue at hand here, our |
That does not seem to be something that will be fixed on Alpine's end :
https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.13.0#time64_requirements I'm not sure there is anything we can / should do on this project end. I certainly won't downgrade the Alpine version used to fix builds on OSes that use an outdated |
@peimansh I took the liberty of changing your issue title to something more generic for people hitting the same problem on other distros that use an outdated The recommended workaround for now would be either :
I'm closing this issue as there isn't a lot more we'll be able to do. |
@nickwest has a manual solution to this in the |
When trying to build the image, the build fails with this error:
Step 3/16 : RUN apk add --no-cache --virtual .build-deps curl gcc git make musl-dev && go get github.com/jwilder/docker-gen && cd /go/src/github.com/jwilder/docker-gen && git -c advice.detachedHead=false checkout $DOCKER_GEN_VERSION && make get-deps && make all && go clean -cache && mv docker-gen /usr/local/bin/ && rm -rf /go/src && apk del .build-deps ---> Running in c83e21a5883b fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/armv7/APKINDEX.tar.gz WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/main: temporary error (try again later) fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/armv7/APKINDEX.tar.gz curl (no such package): required by: .build-deps-19700101.000000[curl] gcc (no such package): required by: .build-deps-19700101.000000[gcc] git (no such package): required by: .build-deps-19700101.000000[git] make (no such package): required by: .build-deps-19700101.000000[make] musl-dev (no such package): required by: .build-deps-19700101.000000[musl-dev] WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/community: temporary error (try again later) ERROR: unable to select packages: The command '/bin/sh -c apk add --no-cache --virtual .build-deps curl gcc git make musl-dev && go get github.com/jwilder/docker-gen && cd /go/src/github.com/jwilder/docker-gen && git -c advice.detachedHead=false checkout $DOCKER_GEN_VERSION && make get-deps && make all && go clean -cache && mv docker-gen /usr/local/bin/ && rm -rf /go/src && apk del .build-deps' returned a non-zero code: 6 ERROR: Service 'nginx-proxy-letsencrypt' failed to build
I even tried to use the previous 1.x version with "simple.sh" but seems to still fail:
Step 3/15 : RUN apk add --update curl gcc git make musl-dev ---> Running in 5e45349e844a fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/main/armv7/APKINDEX.tar.gz ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.13/main: temporary error (try again later) WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/main: No such file or directory fetch https://dl-cdn.alpinelinux.org/alpine/v3.13/community/armv7/APKINDEX.tar.gz ERROR: https://dl-cdn.alpinelinux.org/alpine/v3.13/community: temporary error (try again later) WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.13/community: No such file or directory ERROR: unable to select packages: curl (no such package): required by: world[curl] gcc (no such package): required by: world[gcc] git (no such package): required by: world[git] make (no such package): required by: world[make] musl-dev (no such package): required by: world[musl-dev] The command '/bin/sh -c apk add --update curl gcc git make musl-dev' returned a non-zero code: 5 ERROR: Service 'nginx-proxy-letsencrypt' failed to build
The image has been already built and worked on my RPi 2 months ago, but I cleared Docker cache to save some space. But now without making any changes to the Dockerfile or the code, I'm getting these errors.
The text was updated successfully, but these errors were encountered: