-
Notifications
You must be signed in to change notification settings - Fork 1
/
Dockerfile
30 lines (25 loc) · 752 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
FROM debian:stable-slim
LABEL maintainer="FoRTu" \
maintainer.ebail="[email protected]" \
maintainer.website="https://github.com/FoRTu/docker-tor-relay"
# Install Updates + tor + tor-arm + obfs4proxy + curl:
RUN apt update && \
apt upgrade -y && \
apt -y install tor tor-arm obfs4proxy curl && \
apt-get -y autoclean && \
apt-get -y autoremove && \
apt-get -y purge --auto-remove && \
rm -rf \
/var/lib/apt/lists/* \
/tmp/* \
/var/tmp/* \
/usr/share/locale/* \
/var/cache/debconf/*-old \
/var/lib/apt/lists/* \
/usr/share/doc/*
EXPOSE 9001 9030 9050 8024
# Add launcher.sh
ADD launcher.sh /launcher.sh
RUN ["chmod", "+x", "/launcher.sh"]
# Command to run on container startup
CMD ["/launcher.sh"]