This repository has been archived on 2024-12-19. You can view files and clone it, but cannot push or open issues or pull requests.
Files
tailscale/Dockerfile

31 lines
876 B
Docker

FROM ich777/debian-baseimage
LABEL org.opencontainers.image.authors="admin@minenet.at"
LABEL org.opencontainers.image.source="https://github.com/ich777/tailscale"
ARG TAILSCALE_V="1.74.1"
RUN apt-get update && \
apt-get -y install --no-install-recommends iptables jq && \
mkdir -p /tmp/tailscale && \
wget -q -O /tmp/tailscale/tailscale.tgz "https://pkgs.tailscale.com/stable/tailscale_${TAILSCALE_V}_amd64.tgz" && \
tar -C /tmp/tailscale/ --strip-components=1 -xvf /tmp/tailscale/tailscale.tgz && \
cp /tmp/tailscale/tailscaled /tmp/tailscale/tailscale /usr/bin/ && \
rm -rf /var/lib/apt/lists/* /tmp/tailscale
ENV DATA_DIR=/tailscale
ENV CHECK_INTERVAL=60
ENV UMASK=000
ENV UID=99
ENV GID=100
ENV DATA_PERM=770
RUN mkdir $DATA_DIR && \
ulimit -n 2048
ADD /scripts/ /opt/scripts/
RUN chmod -R 750 /opt/scripts
#Server Start
ENTRYPOINT ["/opt/scripts/start.sh"]