mirror of
https://github.com/cmehay/docker-tor-hidden-service.git
synced 2025-04-19 21:39:13 +00:00
Dockerfile: Fix missing gcc and libc-dev build requirements.
This commit is contained in:
parent
d1a03738ed
commit
bd66bcd2fd
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 onions /usr/local/src/onions/onions
|
||||||
COPY poetry.lock /usr/local/src/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 && \
|
RUN mkdir -p ${HOME}/.tor && \
|
||||||
addgroup -S -g 107 tor && \
|
addgroup -S -g 107 tor && \
|
||||||
|
|
Loading…
Add table
Reference in a new issue