diff options
Diffstat (limited to 'multivimbroker/docker')
-rw-r--r-- | multivimbroker/docker/Dockerfile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/multivimbroker/docker/Dockerfile b/multivimbroker/docker/Dockerfile index 5f74cf3..4e54448 100644 --- a/multivimbroker/docker/Dockerfile +++ b/multivimbroker/docker/Dockerfile @@ -15,13 +15,14 @@ RUN addgroup -S onap && adduser -S -G onap onap COPY ./multicloud-framework-broker-*.zip /opt/multicloud-framework.zip RUN apk update && \ - apk add uwsgi wget unzip gcc make libc-dev libffi-dev openssl-dev && \ + apk add --no-cache uwsgi && \ + apk add --no-cache --virtual .build-deps wget unzip gcc make libc-dev libffi-dev openssl-dev && \ cd /opt/ && \ unzip -q -o -B multicloud-framework.zip && \ rm -f multicloud-framework.zip && \ pip3 install -r /opt/multivimbroker/requirements.txt && \ pip3 install -r /opt/multivimbroker/uwsgi-requirements.txt && \ - apk del wget unzip gcc make libc-dev libffi-dev openssl-dev && \ + apk del --no-network .build-deps && \ mkdir -p /var/log/onap/multicloud/multivimbroker && \ chown onap:onap /var/log/onap -R && \ chown onap:onap /opt/multivimbroker -R |