docker-dnscrypt-proxy/Dockerfile

13 lines
494 B
Docker

FROM debian:bookworm
LABEL maintainer="antoinroux@hotmail.fr"
RUN apt update && \
apt install -y ca-certificates
ADD https://github.com/DNSCrypt/dnscrypt-proxy/releases/download/2.1.5/dnscrypt-proxy-linux_arm-2.1.5.tar.gz /opt/dnscrypt-proxy.tar.gz
RUN tar -xzf /opt/dnscrypt-proxy.tar.gz -C /opt \
&& rm /opt/dnscrypt-proxy.tar.gz
COPY ./dnscrypt-proxy.toml /etc/dnscrypt-proxy/dnscrypt-proxy.toml
CMD /opt/linux-arm/dnscrypt-proxy -config /etc/dnscrypt-proxy/dnscrypt-proxy.toml