diff --git a/Dockerfile b/Dockerfile index c5679f3..1b0da7f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,7 @@ FROM alpine:latest AS base RUN apk add zsh unzip tar -RUN useradd --create-home --groups sudo --shell /usr/bin/zsh geloman \ - && echo "geloman ALL=(ALL) NOPASSWD:ALL" >/etc/sudoers.d/geloman \ - && chmod 0440 /etc/sudoers.d/geloman +RUN addgroup --gid 1000 geloman +RUN adduser --gecos geloman --uid 1000 --gid 1000 --disabled-password geloman # FROM base AS setup # USER geloman