mirror of
https://github.com/casjaysdevdocker/tor
synced 2025-01-18 06:34:34 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
c51b60864c
commit
5108ad8a92
@ -69,7 +69,8 @@ RUN set -ex; \
|
|||||||
if [ "${DISTRO_VERSION}" = "edge" ]; then echo "http://dl-cdn.alpinelinux.org/alpine/${DISTRO_VERSION}/testing" >>"/etc/apk/repositories" ; fi ; \
|
if [ "${DISTRO_VERSION}" = "edge" ]; then echo "http://dl-cdn.alpinelinux.org/alpine/${DISTRO_VERSION}/testing" >>"/etc/apk/repositories" ; fi ; \
|
||||||
apk update --update-cache && apk add --no-cache ${PACK_LIST}
|
apk update --update-cache && apk add --no-cache ${PACK_LIST}
|
||||||
|
|
||||||
RUN echo
|
RUN mkdir -p /run/tor && \
|
||||||
|
chown -Rf tor /run/tor
|
||||||
|
|
||||||
RUN echo "$TIMEZONE" >"/etc/timezone" ; \
|
RUN echo "$TIMEZONE" >"/etc/timezone" ; \
|
||||||
touch "/etc/profile" "/root/.profile" ; \
|
touch "/etc/profile" "/root/.profile" ; \
|
||||||
|
@ -157,6 +157,7 @@ fi
|
|||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Create directories
|
# Create directories
|
||||||
[ -d "/etc/ssl" ] || mkdir -p "$SSL_CONTAINER_DIR"
|
[ -d "/etc/ssl" ] || mkdir -p "$SSL_CONTAINER_DIR"
|
||||||
|
[ -d "/run/tor" ] || mkdir -p "/run/tor"
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Create files
|
# Create files
|
||||||
|
|
||||||
|
@ -5,8 +5,8 @@ CookieAuthentication 1
|
|||||||
CookieAuthFileGroupReadable 1
|
CookieAuthFileGroupReadable 1
|
||||||
HashedControlPassword 16:C30604D1D90F341360A14D9A1048C1DF4A3CA2411444E52EE5B954C01F
|
HashedControlPassword 16:C30604D1D90F341360A14D9A1048C1DF4A3CA2411444E52EE5B954C01F
|
||||||
##### directiories and files
|
##### directiories and files
|
||||||
ControlSocket /tmp/tor-control.sock
|
ControlSocket /run/tor/control.sock
|
||||||
CookieAuthFile /tmp/tor-control.authcookie
|
CookieAuthFile /run/tor/control.authcookie
|
||||||
DataDirectory /data/tor
|
DataDirectory /data/tor
|
||||||
##### logging
|
##### logging
|
||||||
Log notice file /dev/sdout
|
Log notice file /dev/sdout
|
||||||
|
Loading…
x
Reference in New Issue
Block a user