Dockerfile: Fix missing gcc and libc-dev build requirements.

This commit is contained in:
Andreas Schildbach 2020-11-27 16:47:16 +01:00 committed by Christophe Mehay
parent 339367b2d1
commit 131f5d59c8

View file

@ -31,7 +31,9 @@ RUN cd /usr/local/src/onions && apk add --no-cache openssl-dev libffi-dev gc
COPY onions /usr/local/src/onions/onions
COPY poetry.lock /usr/local/src/onions/
RUN cd /usr/local/src/onions && poetry install --no-dev
RUN cd /usr/local/src/onions && apk add --no-cache gcc libc-dev && \
poetry install --no-dev && \
apk del gcc libc-dev
RUN mkdir -p ${HOME}/.tor && \
addgroup -S -g 107 tor && \