aboutsummaryrefslogtreecommitdiffhomepage
path: root/docker
diff options
context:
space:
mode:
authorPaolo Asperti <[email protected]>2022-06-29 21:32:43 +0200
committerPaolo Asperti <[email protected]>2022-06-29 21:32:43 +0200
commite071dbcef011410798b14be7634ea2d32f350489 (patch)
tree37c490b877907365d207386917881c6a567dc0ab /docker
parentde3ee5be04dfeb726ad35b719ede0249b10b379d (diff)
downloadrustdesk-server-e071dbcef011410798b14be7634ea2d32f350489.tar.gz
rustdesk-server-e071dbcef011410798b14be7634ea2d32f350489.zip
apply correct s6 overlay
Diffstat (limited to 'docker')
-rwxr-xr-xdocker/Dockerfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
index c68677b..4304bdc 100755
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -1,13 +1,14 @@
FROM busybox:stable
ARG S6_OVERLAY_VERSION=3.1.0.1
+ARG S6_ARCH=x86_64
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
+ADD https://github.com/just-containers/s6-overlay/releases/download/v${S6_OVERLAY_VERSION}/s6-overlay-${S6_ARCH}.tar.xz /tmp
RUN \
tar -C / -Jxpf /tmp/s6-overlay-noarch.tar.xz && \
- tar -C / -Jxpf /tmp/s6-overlay-x86_64.tar.xz && \
+ tar -C / -Jxpf /tmp/s6-overlay-${S6_ARCH}.tar.xz && \
rm /tmp/s6-overlay*.tar.xz
-
+
COPY rootfs /
ENV RELAY relay.example.com