-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
34 lines (32 loc) · 1.27 KB
/
Dockerfile
File metadata and controls
34 lines (32 loc) · 1.27 KB
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
31
32
33
34
#
# ############################################################################
# Project: M88V2.docker (none)
# File...: tor-server/Dockerfile
# Created: Saturday, 2022/03/05 - 20:35:44
# Author.: Fabrício Matos, (fabricio.matos@live.com)
# ~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~~·~·~·~·~·~·~·~
# Last Modified: Monday, 2022/03/07 - 21:23:02
# Modified By..: @fbnmtz, (fabiano.matoz@gmail.com)
# ~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~~·~·~·~·~·~·~·~
# Version: 1.0.1.0
# ~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~·~·~·~·~·~·~·~~·~·~·~·~·~~·~·~·~·~·~·~·~
# Description:
# >
# ############################################################################
# HISTORY:
#
FROM alpine:latest
LABEL author="Fabrício Matos"
LABEL mail="fabricio.matos@live.com"
LABEL organization="m88v2"
RUN apk update && \
apk add tor wget \
--update-cache \
--repository http://dl-3.alpinelinux.org/alpine/edge/testing/ && \
rm -rf /var/cache/apk/* && \
wget -O /etc/tor/torrc \
https://raw.githubusercontent.com/sachsenhofer/tor_proxy/master/torrc.default
EXPOSE 9050
USER tor
ENTRYPOINT [ "tor" ]
CMD [ "-f", "/etc/tor/torrc" ]