Use TLS when adding Alpine community repository in Dockerfile
authorJames Alseth <james@jalseth.me>
Sat, 5 Sep 2020 02:19:56 +0000 (19:19 -0700)
committerJames Alseth <james@jalseth.me>
Sat, 5 Sep 2020 02:19:56 +0000 (19:19 -0700)
Dockerfile

index aa50e27ecf9607718704b38637b50a537e89ba98..c210cf79c777629bdb32425540626adcc4faa8fb 100644 (file)
@@ -31,7 +31,7 @@ LABEL maintainer="ops@pleroma.social" \
 ARG HOME=/opt/pleroma
 ARG DATA=/var/lib/pleroma
 
-RUN echo "http://nl.alpinelinux.org/alpine/latest-stable/community" >> /etc/apk/repositories &&\
+RUN echo "https://nl.alpinelinux.org/alpine/latest-stable/community" >> /etc/apk/repositories &&\
        apk update &&\
        apk add exiftool imagemagick ncurses postgresql-client &&\
        adduser --system --shell /bin/false --home ${HOME} pleroma &&\