dockerfiles/tor/Dockerfile

18 lines
353 B
Docker
Raw Normal View History

2021-02-18 10:07:59 +01:00
FROM alpine:3.13
2020-04-08 13:05:07 +02:00
2021-02-18 10:21:14 +01:00
COPY entrypoint.sh /entrypoint
RUN chmod +x /entrypoint
addgroup --gid 10001 tor && \
2021-02-18 10:07:59 +01:00
adduser \
--uid 10000 \
--home /var/lib/tor \
--ingroup tor \
--disabled-password \
--shell /sbin/nologin \
tor && \
2021-02-18 10:21:14 +01:00
apk add --no-cache tor su-exec
2021-02-18 10:07:59 +01:00
2021-02-18 10:21:14 +01:00
ENTRYPOINT ["/entrypoint"]
CMD ["tor"]