From 4b220b42c55821bbbcad28dd4b86c9398f9f08b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lucas=20Serv=C3=A9n=20Mar=C3=ADn?= Date: Fri, 15 Nov 2019 14:43:32 +0100 Subject: [PATCH] Dockerfile MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The certificates for the alpine APK repositories expired today [0], breaking builds. This switches the configured repos to ones that work. It also changes the `main` repo to use HTTPS. [0] uk.alpinelinux.org expired Nov 15 2019 at 02:00:31 UTC Signed-off-by: Lucas Servén Marín --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 22452b2..420ce88 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,8 +8,8 @@ RUN apk add --no-cache curl && \ FROM $FROM ARG GOARCH LABEL maintainer="squat " -RUN echo "@community http://nl.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \ - apk add --no-cache ipset iptables wireguard-tools@community +RUN echo -e "https://dl-3.alpinelinux.org/alpine/edge/main\nhttps://dl-3.alpinelinux.org/alpine/edge/community" > /etc/apk/repositories && \ + apk add --no-cache ipset iptables wireguard-tools COPY --from=cni bridge host-local loopback portmap /opt/cni/bin/ COPY bin/$GOARCH/kg /opt/bin/ ENTRYPOINT ["/opt/bin/kg"]