mirror of
https://github.com/cmehay/docker-tor-hidden-service.git
synced 2025-04-20 05:49:11 +00:00
Dockerfile: Fix missing gcc and libc-dev build requirements.
This commit is contained in:
parent
339367b2d1
commit
131f5d59c8
1 changed files with 3 additions and 1 deletions
|
@ -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 && \
|
||||
|
|
Loading…
Add table
Reference in a new issue