diff --git a/base.alpine/Dockerfile b/base.alpine/Dockerfile index 96f5b35..1c23d80 100644 --- a/base.alpine/Dockerfile +++ b/base.alpine/Dockerfile @@ -21,8 +21,7 @@ RUN \ chmod +x /usr/bin/nop.sh /usr/bin/app.sh /init.sh /init-root.sh && \ apk add --no-cache --update su-exec tzdata curl ca-certificates shared-mime-info dumb-init && \ ln -s /sbin/su-exec /usr/local/bin/gosu && \ - mkdir -p /home/$APP_USER && \ - adduser -s /bin/sh -D -u $APP_UID $APP_USER && chown -R $APP_USER:$APP_USER /home/$APP_USER && \ + adduser -s /bin/sh -D -u $APP_UID $APP_USER && \ delgroup ping && addgroup -g 998 ping && \ addgroup -g ${DOCKER_GID} docker && addgroup ${APP_USER} docker && \ mkdir -p /srv && chown -R $APP_USER:$APP_USER /srv && \