Update docker/headscale/Dockerfile

This commit is contained in:
colin 2024-01-22 18:38:48 +00:00
parent 608e988d4d
commit fd051fce95
1 changed files with 9 additions and 9 deletions

View File

@ -1,10 +1,10 @@
FROM headscale/headscale:latest FROM headscale/headscale:latest
RUN apt-get update \ #RUN apt-get update \
&& apt-get install -y curl openssl \ # && apt-get install -y curl openssl \
&& rm -rf /var/lib/apt/lists/* \ # && rm -rf /var/lib/apt/lists/* \
&& apt-get clean # && apt-get clean
COPY prep.sh /usr/bin/local/ # COPY prep.sh /usr/bin/local/
RUN /bin/bash /usr/bin/local/prep.sh # RUN /bin/bash /usr/bin/local/prep.sh
COPY start.sh /usr/bin/local/ # COPY start.sh /usr/bin/local/
RUN chmod +x /usr/bin/local/start.sh # RUN chmod +x /usr/bin/local/start.sh
CMD ["/usr/bin/local/start.sh"] # CMD ["/usr/bin/local/start.sh"]