Skip to content

Commit

Permalink
Fix dockerfile.
Browse files Browse the repository at this point in the history
  • Loading branch information
antarcticrainforest committed May 15, 2024
1 parent 38ad75f commit ee940e5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ LABEL org.opencontainers.image.authors="DRKZ-CLINT"
LABEL org.opencontainers.image.source="https://github.com/FREVA-CLINT/freva-deployment.git"
LABEL org.opencontainers.image.version="$VERSION"
RUN set -ex &&\
apk add --no-cache python3-dev py3-pip openssh-client sshpass gcc py3-cffi-pyc \
py3-wheel &&\
apk add --no-cache python3 py3-pip openssh-client sshpass &&\
apk add --no-cache --virtual /root/build-deps build-base python3-dev libffi-dev openssl-dev &&\
mkdir -p /opt/freva-deployment &&\
ln -sf python3 /usr/bin/python && \
mkdir -p /tmp/deployment
Expand All @@ -16,6 +16,8 @@ RUN set -ex &&\
python3 -m pip install --break-system-packages . &&\
rm -rf /root/.cache/pip &&\
rm -rf /var/cache/apk/* &&\
apk del /root/build-deps &&\
rm -rf /root/build-deps &&\
rm -rf /tmp/deployment
WORKDIR /opt/freva-deployment
VOLUME /opt/freva-deployment
Expand Down

0 comments on commit ee940e5

Please sign in to comment.