Repository: nginx-proxy/acme-companion

Issue #755: Image not building or working on Raspbian stable, Amazon Linux 1 or 2, CentOS 7 or 8, Debian stable, Ubuntu 14.04 or earlier
Created: 2021-02-14T01:53:35Z
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.

Duplicate issue #784: alpine:3.13.4 dosen't work correctly on arm32v7
Created: 2021-04-21T09:27:48Z
Bug description
The last build doesn't work on raspberry pi 4, because the system time does not synchronise correctly
For more info: alpinelinux/docker-alpine#150
Info: running acme-companion version v2.1.0

Docker host

OS: Raspbian GNU/Linux 10 (buster)
Docker version:
`Client: Docker Engine - Community
Version:           20.10.5
API version:       1.41
Go version:        go1.13.15
Git commit:        55c4c88
Built:             Tue Mar  2 20:18:46 2021
OS/Arch:           linux/arm
Context:           default
Experimental:      true

Server: Docker Engine - Community
Engine:
Version:          20.10.5
API version:      1.41 (minimum version 1.12)
Go version:       go1.13.15
Git commit:       363e9a8
Built:            Tue Mar  2 20:16:18 2021
OS/Arch:          linux/arm
Experimental:     false
containerd:
Version:          1.4.4
GitCommit:        05f951a3781f4f2c1911b05e61c160e9c30eaa8e
runc:
Version:          1.0.0-rc93
GitCommit:        12644e614e25b05da6fd08a38ffa0cfe1903fdec
docker-init:
Version:          0.19.0
GitCommit:        de40ad0
`

Closing comment (2021-04-21T09:33:40Z): Duplicate of #755