rustdesk-server/docker/Dockerfile

24 lines
647 B
Docker
Raw Normal View History

2022-06-20 22:59:24 +08:00
FROM busybox:stable
2022-06-20 20:48:57 +08:00
ARG S6_OVERLAY_VERSION=3.1.0.1
ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-noarch.tar.xz /tmp
ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-x86_64.tar.xz /tmp
RUN \
tar -C / -Jxpf /tmp/s6-overlay-noarch.tar.xz && \
tar -C / -Jxpf /tmp/s6-overlay-x86_64.tar.xz && \
rm /tmp/s6-overlay*.tar.xz
COPY rootfs /
ENV RELAY relay.example.com
EXPOSE 21115 21116 21116/udp 21117 21118 21119
2022-06-20 21:22:42 +08:00
HEALTHCHECK --interval=10s --timeout=5s CMD /usr/bin/healthcheck.sh
2022-06-20 20:48:57 +08:00
WORKDIR /data
VOLUME /data
ENTRYPOINT ["/init"]