mirror of
https://github.com/casjaysdevdocker/tor
synced 2025-01-18 00:34:29 -05:00
🗃️ Committing everything that changed 🗃️
This commit is contained in:
parent
5108ad8a92
commit
971527ef77
@ -69,8 +69,7 @@ RUN set -ex; \
|
||||
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}
|
||||
|
||||
RUN mkdir -p /run/tor && \
|
||||
chown -Rf tor /run/tor
|
||||
RUN echo
|
||||
|
||||
RUN echo "$TIMEZONE" >"/etc/timezone" ; \
|
||||
touch "/etc/profile" "/root/.profile" ; \
|
||||
|
@ -159,7 +159,8 @@ fi
|
||||
[ -d "$BACKUP_DIR" ] || mkdir -p "$BACKUP_DIR"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Post copy commands
|
||||
|
||||
install -Z -m 02700 -o root -g root -d "/run/tor"
|
||||
install -Z -m 755 -o root -g root -d "/data/tor/hidden_service"
|
||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
# Initialized
|
||||
[ -d "/data" ] && touch "/data/.docker_has_run"
|
||||
|
Loading…
x
Reference in New Issue
Block a user