From 05a8300105b842ca337a06017fc0ffed3928b97d Mon Sep 17 00:00:00 2001 From: NI Date: Tue, 31 Dec 2019 09:33:22 +0800 Subject: [PATCH] Use debian:testing as base Docker build image instead of debian:sid one. This should resolve the problem which prevents the previous version (0.1.14-beta-release) from been built. --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 0fe5396c..68548cfe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Build the build base environment -FROM debian:sid AS base +FROM debian:testing AS base RUN set -ex && \ cd / && \ echo 'res=0; for i in $(seq 0 36); do $@; res=$?; [ $res -eq 0 ] && exit $res || sleep 10; done; exit $res' > /try.sh && chmod +x /try.sh && \ @@ -56,6 +56,7 @@ ENV SSHWIFTY_HOSTNAME= \ SSHWIFTY_DOCKER_TLSCERT= \ SSHWIFTY_DOCKER_TLSCERTKEY= COPY --from=builder /sshwifty / +COPY . /sshwifty-src RUN set -ex && \ adduser -D sshwifty && \ chmod +x /sshwifty && \