Today, I was trying to build a Docker container using Alpine Linux 3.2. However, the apk
command was not successful during building the container image because it could not retrieve the APKINDEX
file.
I tried to add other dl-
links to the Dockerfile recipe with no success:
RUN echo "ipv6" >> /etc/modules
RUN echo "http://dl-1.alpinelinux.org/alpine/v3.2/main" >> /etc/apk/repositories; \
echo "http://dl-2.alpinelinux.org/alpine/v3.2/main" >> /etc/apk/repositories; \
echo "http://dl-3.alpinelinux.org/alpine/v3.2/main" >> /etc/apk/repositories; \
echo "http://dl-4.alpinelinux.org/alpine/v3.2/main" >> /etc/apk/repositories; \
echo "http://dl-5.alpinelinux.org/alpine/v3.2/main" >> /etc/apk/repositories; \
echo "http://dl-6.alpinelinux.org/alpine/v3.2/main" >> /etc/apk/repositories
It seems that the domain associated with alpinelinux.org has been expired yesterday, and therefore the servers were not accessible via their names.
Is there any way to retrieve the actual IP addresses of the dl-
servers to be added to the Dockerfile?
Thanks.