2024-12-20 16:03:34 +01:00
|
|
|
FROM alpine:3.20
|
|
|
|
|
|
|
|
RUN apk --no-cache add \
|
|
|
|
socat
|
|
|
|
|
2024-12-20 16:08:03 +01:00
|
|
|
COPY --chmod=755 ./entrypoint.sh /usr/local/bin/entrypoint
|
2024-12-20 16:03:34 +01:00
|
|
|
|
2024-12-20 16:08:03 +01:00
|
|
|
RUN addgroup -S edns \
|
|
|
|
&& adduser -S edns -G edns
|
|
|
|
|
|
|
|
USER edns
|
|
|
|
|
|
|
|
EXPOSE 11053/udp
|
2024-12-20 16:03:34 +01:00
|
|
|
|
|
|
|
ENTRYPOINT [ "entrypoint" ]
|
|
|
|
|
|
|
|
CMD [ "-any" ]
|