From 0c08738a45149b60f8565ec70704c04cc2be3465 Mon Sep 17 00:00:00 2001 From: Adrian Dvergsdal Date: Sat, 6 Jul 2024 12:11:02 +0200 Subject: [PATCH] No longer need to add community repo to install shadow --- Dockerfile-alpine | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile-alpine b/Dockerfile-alpine index d0002a0..e8a36b2 100644 --- a/Dockerfile-alpine +++ b/Dockerfile-alpine @@ -5,8 +5,7 @@ MAINTAINER Adrian Dvergsdal [atmoz.net] # - Install packages # - OpenSSH needs /var/run/sshd to run # - Remove generic host keys, entrypoint generates unique keys -RUN echo "@community http://dl-cdn.alpinelinux.org/alpine/edge/community" >> /etc/apk/repositories && \ - apk add --no-cache bash shadow@community openssh-server-pam openssh-sftp-server && \ +RUN apk add --no-cache bash shadow openssh-server-pam openssh-sftp-server && \ ln -s /usr/sbin/sshd.pam /usr/sbin/sshd && \ mkdir -p /var/run/sshd && \ rm -f /etc/ssh/ssh_host_*key*