1
1
mirror of https://github.com/dnscrypt/dnscrypt-server-docker synced 2024-11-22 19:42:03 +01:00

Don't privdrop for now

This commit is contained in:
Frank Denis 2019-09-24 20:57:55 +02:00
parent 7b644a6127
commit 44c42a989b
2 changed files with 3 additions and 2 deletions

@ -36,6 +36,7 @@ RUN apt-get install -qy --no-install-recommends $BUILD_DEPS && \
curl -sSf https://sh.rustup.rs | bash -s -- -y --default-toolchain nightly curl -sSf https://sh.rustup.rs | bash -s -- -y --default-toolchain nightly
RUN export PATH="$HOME/.cargo/bin:$PATH" && \ RUN export PATH="$HOME/.cargo/bin:$PATH" && \
echo "Compiling encrypted-dns version 0.2.2" && \
cargo install encrypted-dns && \ cargo install encrypted-dns && \
mkdir -p /opt/encrypted-dns/sbin && \ mkdir -p /opt/encrypted-dns/sbin && \
mkdir -p /opt/encrypted-dns/etc/keys && \ mkdir -p /opt/encrypted-dns/etc/keys && \

@ -93,12 +93,12 @@ daemonize = false
## User name to drop privileges to, when started as root. ## User name to drop privileges to, when started as root.
user = "_encrypted-dns" # user = "_encrypted-dns"
## Group name to drop privileges to, when started as root. ## Group name to drop privileges to, when started as root.
group = "_encrypted-dns" # group = "_encrypted-dns"
## Path to chroot() to, when started as root. ## Path to chroot() to, when started as root.