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
RUN apt-get update \
&& apt-get install -y curl openssl \
&& rm -rf /var/lib/apt/lists/* \
&& apt-get clean
COPY prep.sh /usr/bin/local/
RUN /bin/bash /usr/bin/local/prep.sh
COPY start.sh /usr/bin/local/
RUN chmod +x /usr/bin/local/start.sh
CMD ["/usr/bin/local/start.sh"]
#RUN apt-get update \
# && apt-get install -y curl openssl \
# && rm -rf /var/lib/apt/lists/* \
# && apt-get clean
# COPY prep.sh /usr/bin/local/
# RUN /bin/bash /usr/bin/local/prep.sh
# COPY start.sh /usr/bin/local/
# RUN chmod +x /usr/bin/local/start.sh
# CMD ["/usr/bin/local/start.sh"]