changed package manager

This commit is contained in:
jkoschke
2022-01-12 23:26:54 +01:00
parent 59dfbcce7d
commit bb335ebbe0
2 changed files with 5 additions and 7 deletions

View File

@ -2,14 +2,12 @@ ARG BUILD_FROM
FROM $BUILD_FROM
RUN sudo apt-get update
RUN sudo apt-get install tinc
RUN /bin/sh -c set -xe && apk add -U tinc && rm -rf /var/cache/apk/*
EXPOSE 655/tcp 655/udp
VOLUME [ "/etc/tinc" ]
ENTRYPOINT [ "/usr/sbin/tinc" ]
ENTRYPOINT [ "tincd" ]
COPY run.sh /
@ -21,5 +19,5 @@ RUN chmod a+x /tinc-down
RUN mkdir hosts
RUN tincd -c . -K
#CMD [ "/run.sh" ]
CMD [ "start" "-D" "-U" "nobody" ]
CMD [ "/run.sh" ]
#CMD [ "start" "-D" "-U" "nobody" ]

View File

@ -1,3 +1,3 @@
#!/usr/bin/with-contenv bashio
echo "Hello world!"
cat options.json