From 938a075d8238658c2b8b5454be63a5ca4ead10a9 Mon Sep 17 00:00:00 2001 From: JuniorJPDJ Date: Sat, 3 Jul 2021 23:14:24 +0200 Subject: [PATCH] Update alpine to 3.14 https is not working inside (Why?) and as workaround I'm moving repositories back to http --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 85ad2f1..e077327 100644 --- a/Dockerfile +++ b/Dockerfile @@ -27,12 +27,12 @@ ENV TINI_VERSION v0.19.0 ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini-static /chroot/tini # Set up chroot -RUN wget -O - http://dl-cdn.alpinelinux.org/alpine/v3.12/releases/x86_64/alpine-minirootfs-3.12.7-x86_64.tar.gz | tar xz -C /chroot +RUN wget -O - http://dl-cdn.alpinelinux.org/alpine/v3.14/releases/x86_64/alpine-minirootfs-3.14.0-x86_64.tar.gz | tar xz -C /chroot COPY --from=build /linux /linux COPY init.sh /chroot/init.sh -RUN chmod +x /linux /chroot/tini && echo "nameserver 10.0.2.3" > /chroot/etc/resolv.conf +RUN chmod +x /linux /chroot/tini && echo "nameserver 10.0.2.3" > /chroot/etc/resolv.conf && sed -i 's/https/http/g' /chroot/etc/apk/repositories COPY runlinux.sh /runlinux.sh