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
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 ; \
|
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 mkdir -p /run/tor && \
|
RUN echo
|
||||||
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" ; \
|
||||||
|
@ -159,7 +159,8 @@ fi
|
|||||||
[ -d "$BACKUP_DIR" ] || mkdir -p "$BACKUP_DIR"
|
[ -d "$BACKUP_DIR" ] || mkdir -p "$BACKUP_DIR"
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# Post copy commands
|
# 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
|
# Initialized
|
||||||
[ -d "/data" ] && touch "/data/.docker_has_run"
|
[ -d "/data" ] && touch "/data/.docker_has_run"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user