mirror of https://github.com/lukechilds/umbrel.git
committed by
GitHub
6 changed files with 12 additions and 38 deletions
@ -1,10 +0,0 @@ |
|||
FROM alpine:3.11 |
|||
|
|||
RUN apk add --no-cache tor |
|||
|
|||
VOLUME /etc/tor/ |
|||
VOLUME /var/lib/tor/ |
|||
|
|||
EXPOSE 9050 9051 29050 29051 |
|||
|
|||
ENTRYPOINT ["tor"] |
@ -1,21 +0,0 @@ |
|||
ARG IMG |
|||
ARG VER |
|||
|
|||
FROM ${IMG}:${VER} |
|||
|
|||
ARG ID=1000 |
|||
ARG DIR=/data/ |
|||
|
|||
RUN addgroup --gid ${ID} lncm |
|||
|
|||
RUN adduser --uid ${ID} \ |
|||
--home ${DIR} \ |
|||
--disabled-password \ |
|||
--gecos "" \ |
|||
--ingroup lncm \ |
|||
lncm |
|||
|
|||
USER lncm |
|||
|
|||
VOLUME ${DIR} |
|||
|
Loading…
Reference in new issue