File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -11,19 +11,20 @@ ENV DEBIAN_FRONTEND=noninteractive \
11
11
# Update and install in a single RUN instruction to reduce layers
12
12
# Pin specific versions for better reproducibility
13
13
RUN apk add --no-cache \
14
- dnscrypt-proxy=2.1.5-r9 \
15
- ca-certificates \
16
- tzdata \
17
- netcat-openbsd
14
+ dnscrypt-proxy=2.1.5-r11 \
15
+ ca-certificates=20241121-r1 \
16
+ tzdata=2025b-r0 \
17
+ netcat-openbsd=1.226.1.1-r0
18
18
19
19
# Create directory for custom configuration
20
20
RUN mkdir -p /etc/dnscrypt-proxy && \
21
21
chown -R dnscrypt:dnscrypt /etc/dnscrypt-proxy
22
22
23
23
# Copy a custom configuration file that uses port 5053 instead of 53
24
- COPY --chown=dnscrypt:dnscrypt dnscrypt-proxy.toml /etc/dnscrypt-proxy/dnscrypt-proxy.toml
25
- COPY --chown=dnscrypt:dnscrypt forwarding-rules.txt /etc/dnscrypt-proxy/forwarding-rules.txt
24
+ COPY dnscrypt-proxy.toml /etc/dnscrypt-proxy/dnscrypt-proxy.toml
25
+ COPY forwarding-rules.txt /etc/dnscrypt-proxy/forwarding-rules.txt
26
26
27
+ RUN chown -R dnscrypt:dnscrypt /etc/dnscrypt-proxy
27
28
28
29
# DNSCrypt-proxy uses non-privileged ports inside container
29
30
# EXPOSE 53/udp 53/tcp
You can’t perform that action at this time.
0 commit comments