🗃️ Committing everything that changed 🗃️

This commit is contained in:
casjay 2023-02-25 15:06:03 -05:00
parent 5108ad8a92
commit 971527ef77
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F
2 changed files with 3 additions and 3 deletions

View File

@ -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" ; \

View File

@ -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"