Explorar o código

Dockerfile

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 <lserven@gmail.com>
Lucas Servén Marín %!s(int64=6) %!d(string=hai) anos
pai
achega
4b220b42c5
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      Dockerfile

+ 2 - 2
Dockerfile

@@ -8,8 +8,8 @@ RUN apk add --no-cache curl && \
 FROM $FROM
 ARG GOARCH
 LABEL maintainer="squat <lserven@gmail.com>"
-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"]