From 943acc01afb500399d3fa110a5102faaf7b7fed1 Mon Sep 17 00:00:00 2001 From: meliurwen Date: Sat, 22 Aug 2020 17:42:12 +0200 Subject: [PATCH] Another attempt --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index c1d2c19..db121a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,8 @@ FROM alpine:latest # - Fix default group (1000 does not exist) # - OpenSSH needs /var/run/sshd to run # - Remove generic host keys, entrypoint generates unique keys -RUN apk add --no-cache bash shadow@community openssh openssh-sftp-server && \ +RUN echo "@community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \ + apk add --no-cache bash shadow@community openssh openssh-sftp-server && \ sed -i 's/GROUP=1000/GROUP=100/' /etc/default/useradd && \ mkdir -p /var/run/sshd && \ rm -f /etc/ssh/ssh_host_*key*