From 9722b0a9f4638f0480d6e313f6ad757add45c97f Mon Sep 17 00:00:00 2001 From: Hardware Date: Fri, 17 Mar 2017 09:00:13 +0100 Subject: [PATCH] fix(): https error, missing packages --- Dockerfile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8694112..0fdf208 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,8 +8,13 @@ ARG GPG_FINGERPRINT="3B79 7ECE 694F 3B7B 70F3 11A4 ED7C 49D9 87DA 4591" ENV UID=991 GID=991 RUN echo "@community https://nl.alpinelinux.org/alpine/v3.5/community" >> /etc/apk/repositories \ - && apk -U add \ + && BUILD_DEPS=" \ gnupg \ + openssl \ + wget" \ + && apk --no-cache -U add \ + ${BUILD_DEPS} \ + ca-certificates \ nginx \ s6 \ su-exec \ @@ -39,7 +44,7 @@ RUN echo "@community https://nl.alpinelinux.org/alpine/v3.5/community" >> /etc/a && mkdir /rainloop && unzip -q /tmp/rainloop-community-latest.zip -d /rainloop \ && find /rainloop -type d -exec chmod 755 {} \; \ && find /rainloop -type f -exec chmod 644 {} \; \ - && apk del gnupg \ + && apk del ${BUILD_DEPS} \ && rm -rf /tmp/* /var/cache/apk/* /root/.gnupg COPY nginx.conf /etc/nginx/nginx.conf