This repository has been archived on 2021-09-23. You can view files and clone it, but cannot push or open issues or pull requests.
hidden-service/Dockerfile
samuel-p 4646bee397
All checks were successful
continuous-integration/drone/push Build is passing
added first files
2021-01-27 18:13:48 +01:00

20 lines
683 B
Docker

ARG ARCH
FROM amd64/debian:10.7-slim@sha256:b1af07039fe341833982bae85a2724ac8600ec5c74c37277c7a6ef7cddfb2cd0 AS base-amd64
FROM arm32v7/debian:10.7-slim@sha256:d31590f680577ffde6bd08943e9590eaabdc04529ea60f4bb6f58cddbc33f628 AS base-arm
FROM arm64v8/debian:10.7-slim@sha256:01b65c2928fed9427e59a679e287a75d98551ea2061cf03c61be0c7e1fc40fef AS base-arm64
FROM base-${ARCH}
RUN apt-get update && apt-get upgrade -y && apt-get install -y \
curl="7.64.0-4+deb10u1" \
tor="0.3.5.12-1" && \
apt-get clean && \
rm -rf /var/lib/apt/lists/* && \
useradd --system -M --shell /usr/sbin/nologin tor
COPY entrypoint.sh /
VOLUME /web
USER tor
ENTRYPOINT ["/entrypoint.sh"]