technitium (production)
Published 2025-04-13 15:08:48 -04:00 by colin
Installation
docker pull git.nixc.us/nixius/technitium:production
sha256:e3e65919d99b8b478195aa70e8b9f88545cceddf39c8f86eb95ed6b70ea6d047
Image Layers
# debian.sh --arch 'amd64' out/ 'bookworm' '@1742169600' |
ENV APP_UID=1654 ASPNETCORE_HTTP_PORTS=8080 DOTNET_RUNNING_IN_CONTAINER=true |
RUN /bin/sh -c apt-get update && apt-get install -y --no-install-recommends ca-certificates libc6 libgcc-s1 libicu72 libssl3 libstdc++6 tzdata zlib1g && rm -rf /var/lib/apt/lists/* # buildkit |
RUN /bin/sh -c groupadd --gid=$APP_UID app && useradd -l --uid=$APP_UID --gid=$APP_UID --create-home app # buildkit |
ENV DOTNET_VERSION=8.0.14 |
COPY /dotnet /usr/share/dotnet # buildkit |
RUN /bin/sh -c ln -s /usr/share/dotnet/dotnet /usr/bin/dotnet # buildkit |
ENV ASPNET_VERSION=8.0.14 |
COPY /dotnet /usr/share/dotnet # buildkit |
ADD https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb / # buildkit |
RUN /bin/sh -c dpkg -i packages-microsoft-prod.deb && rm packages-microsoft-prod.deb # `dnsutils` added to include the `dig` command for troubleshooting: apt-get update && apt-get install -y libmsquic dnsutils apt-get clean -y && rm -rf /var/lib/apt/lists/* # `/etc/dns` is expected to exist the default directory for persisting state: # (Users should volume mount to this location or modify the `CMD` of their container) mkdir /etc/dns # buildkit |
WORKDIR /opt/technitium/dns |
COPY ./DnsServerApp/bin/Release/publish /opt/technitium/dns # buildkit |
STOPSIGNAL SIGINT |
ENTRYPOINT ["/usr/bin/dotnet" "/opt/technitium/dns/DnsServerApp.dll"] |
CMD ["/etc/dns"] |
EXPOSE map[443/tcp:{} 443/udp:{} 53/tcp:{} 53/udp:{} 53443/tcp:{} 5380/tcp:{} 67/udp:{} 80/tcp:{} 8053/tcp:{} 853/tcp:{} 853/udp:{}] |
LABEL org.opencontainers.image.title=Technitium DNS Server |
LABEL org.opencontainers.image.vendor=Technitium |
LABEL org.opencontainers.image.source=https://github.com/TechnitiumSoftware/DnsServer |
LABEL org.opencontainers.image.url=https://technitium.com/dns/ |
LABEL org.opencontainers.image.authors=support@technitium.com |
Labels
Key | Value |
---|---|
com.docker.compose.project | technitium |
com.docker.compose.service | technitium |
com.docker.compose.version | 2.30.3 |
org.opencontainers.image.authors | support@technitium.com |
org.opencontainers.image.source | https://github.com/TechnitiumSoftware/DnsServer |
org.opencontainers.image.title | Technitium DNS Server |
org.opencontainers.image.url | https://technitium.com/dns/ |
org.opencontainers.image.vendor | Technitium |
Details
2025-04-13 15:08:48 -04:00
Versions (2)
View all
Container
1293
OCI / Docker
linux/amd64
support@technitium.com
99 MiB
production
2025-04-13
staging
2025-04-13