From 5131632f2d01793243b0482a6591d858020fda95 Mon Sep 17 00:00:00 2001 From: Aaron Riedel Date: Wed, 10 May 2023 20:21:47 +0200 Subject: [PATCH] switch to debian --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c7f1da0..c6c5d63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM amd64/python:3.11.3-alpine3.16 +FROM amd64/python:3.11.3-slim-bullseye RUN apk add --no-cache git WORKDIR ./ ARG PUID=1000 @@ -7,7 +7,7 @@ ENV USER docker ENV HOMEDIR "/home/${USER}" ENV PATH ${HOMEDIR}/.local/bin:$PATH ENV PLUGIN_PROFILE production -RUN addgroup -S "${GROUP}" && adduser -S "${USER}" -G "${GROUP}" +RUN useradd -u "${PUID}" -m "${USER}" COPY script.sh /bin/ RUN chmod +x /bin/script.sh USER ${USER}