Allow Docker container to be run as non-root user

The /config directory needs to be writable by all in order to run the container as a non-root user.
This commit is contained in:
ras07 2022-01-18 15:58:30 -06:00 committed by GitHub
parent fc50359752
commit 3298026924
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -18,7 +18,7 @@ RUN apk add --update --no-cache tor curl bash openrc
# libcurl4-openssl-dev # libcurl4-openssl-dev
ARG config_dir=/config ARG config_dir=/config
RUN mkdir -p $config_dir RUN mkdir -p -m 777 $config_dir
VOLUME $config_dir VOLUME $config_dir
ARG username='' ARG username=''