tidy up docker file and apk command

This commit is contained in:
Ric Harvey
2018-06-29 22:10:35 +01:00
parent 0063728e48
commit daf419122a

View File

@@ -159,8 +159,9 @@ RUN GPG_KEYS=B0F4253373F8F6F510D42178520A9993A1C052F8 \
RUN echo @testing http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories && \
echo /etc/apk/respositories && \
apk update && \
apk add --no-cache bash \
apk update && apk upgrade &&\
apk add --no-cache --virtual .sys-deps \
bash \
openssh-client \
wget \
supervisor \
@@ -210,7 +211,8 @@ RUN echo @testing http://nl.alpinelinux.org/alpine/edge/testing >> /etc/apk/repo
pip install -U pip && \
pip install -U certbot && \
mkdir -p /etc/letsencrypt/webrootauth && \
apk del gcc musl-dev linux-headers libffi-dev augeas-dev python-dev make autoconf
# apk del gcc musl-dev linux-headers libffi-dev augeas-dev python-dev make autoconf && \
apk del .sys-deps
# ln -s /usr/bin/php7 /usr/bin/php
ADD conf/supervisord.conf /etc/supervisord.conf