This commit is contained in:
parent
8029be9f2c
commit
5131632f2d
1 changed files with 2 additions and 2 deletions
|
@ -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
|
RUN apk add --no-cache git
|
||||||
WORKDIR ./
|
WORKDIR ./
|
||||||
ARG PUID=1000
|
ARG PUID=1000
|
||||||
|
@ -7,7 +7,7 @@ ENV USER docker
|
||||||
ENV HOMEDIR "/home/${USER}"
|
ENV HOMEDIR "/home/${USER}"
|
||||||
ENV PATH ${HOMEDIR}/.local/bin:$PATH
|
ENV PATH ${HOMEDIR}/.local/bin:$PATH
|
||||||
ENV PLUGIN_PROFILE production
|
ENV PLUGIN_PROFILE production
|
||||||
RUN addgroup -S "${GROUP}" && adduser -S "${USER}" -G "${GROUP}"
|
RUN useradd -u "${PUID}" -m "${USER}"
|
||||||
COPY script.sh /bin/
|
COPY script.sh /bin/
|
||||||
RUN chmod +x /bin/script.sh
|
RUN chmod +x /bin/script.sh
|
||||||
USER ${USER}
|
USER ${USER}
|
||||||
|
|
Loading…
Reference in a new issue