fix(): https error, missing packages

This commit is contained in:
Hardware 2017-03-17 09:00:13 +01:00
parent 1a995c509e
commit 9722b0a9f4
No known key found for this signature in database
GPG Key ID: EC6DF6F90263EDEA

View File

@ -8,8 +8,13 @@ ARG GPG_FINGERPRINT="3B79 7ECE 694F 3B7B 70F3 11A4 ED7C 49D9 87DA 4591"
ENV UID=991 GID=991 ENV UID=991 GID=991
RUN echo "@community https://nl.alpinelinux.org/alpine/v3.5/community" >> /etc/apk/repositories \ RUN echo "@community https://nl.alpinelinux.org/alpine/v3.5/community" >> /etc/apk/repositories \
&& apk -U add \ && BUILD_DEPS=" \
gnupg \ gnupg \
openssl \
wget" \
&& apk --no-cache -U add \
${BUILD_DEPS} \
ca-certificates \
nginx \ nginx \
s6 \ s6 \
su-exec \ 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 \ && mkdir /rainloop && unzip -q /tmp/rainloop-community-latest.zip -d /rainloop \
&& find /rainloop -type d -exec chmod 755 {} \; \ && find /rainloop -type d -exec chmod 755 {} \; \
&& find /rainloop -type f -exec chmod 644 {} \; \ && find /rainloop -type f -exec chmod 644 {} \; \
&& apk del gnupg \ && apk del ${BUILD_DEPS} \
&& rm -rf /tmp/* /var/cache/apk/* /root/.gnupg && rm -rf /tmp/* /var/cache/apk/* /root/.gnupg
COPY nginx.conf /etc/nginx/nginx.conf COPY nginx.conf /etc/nginx/nginx.conf