From 3ad35571d5b4cd543a2ca08177d54b00915085e6 Mon Sep 17 00:00:00 2001 From: Adrian Dvergsdal Date: Wed, 22 Dec 2021 22:59:48 +0100 Subject: [PATCH] Fixing default group no longer needed in alpine --- Dockerfile-alpine | 2 -- 1 file changed, 2 deletions(-) diff --git a/Dockerfile-alpine b/Dockerfile-alpine index 72a28c7..c2dd4fa 100644 --- a/Dockerfile-alpine +++ b/Dockerfile-alpine @@ -3,12 +3,10 @@ MAINTAINER Adrian Dvergsdal [atmoz.net] # Steps done in one RUN layer: # - Install packages -# - Fix default group (1000 does not exist) # - 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 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*