zerotier-docker/Dockerfile.router
Phill Kelley bf15adc4ce
timezone support
Adding `tzdata` to Dockerfile.router activates TZ environment variable.

Signed-off-by: Phill Kelley <34226495+Paraphraser@users.noreply.github.com>
2022-07-19 15:58:18 +10:00

24 lines
668 B
Docker

ARG FROM_IMAGE=zyclonite/zerotier
ARG FROM_VERSION=latest
FROM ${FROM_IMAGE}:${FROM_VERSION}
LABEL org.opencontainers.image.title="zerotier" \
org.opencontainers.image.version="router-${ZT_VERSION}" \
org.opencontainers.image.description="ZeroTier One router as Docker Image" \
org.opencontainers.image.licenses="MIT" \
org.opencontainers.image.source="https://github.com/zyclonite/zerotier-docker"
ENV LOG_PATH=/var/log/supervisor
COPY scripts/entrypoint-router.sh /usr/sbin/
RUN apk add --no-cache --purge --clean-protected iptables tzdata \
&& rm -rf /var/cache/apk/*
EXPOSE 9993/udp
ENTRYPOINT ["entrypoint-router.sh"]
CMD ["-U"]