drop deprecated ENV key value format
This commit is contained in:
parent
cea2f4b13f
commit
fe2775ed8c
2 changed files with 10 additions and 10 deletions
10
Dockerfile
10
Dockerfile
|
@ -2,11 +2,11 @@ FROM python:3.13.2-slim-bookworm
|
||||||
RUN apt-get update -qq && apt-get install -qq git --no-install-recommends && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update -qq && apt-get install -qq git --no-install-recommends && rm -rf /var/lib/apt/lists/*
|
||||||
WORKDIR ./
|
WORKDIR ./
|
||||||
ARG PUID=1000
|
ARG PUID=1000
|
||||||
ENV GROUP dockergroup
|
ENV GROUP=dockergroup
|
||||||
ENV USER docker
|
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 useradd -u "${PUID}" -m "${USER}"
|
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
|
||||||
|
|
|
@ -2,11 +2,11 @@ FROM python:3.13.2-slim-bookworm
|
||||||
RUN apt-get update -qq && apt-get install -qq git --no-install-recommends && rm -rf /var/lib/apt/lists/*
|
RUN apt-get update -qq && apt-get install -qq git --no-install-recommends && rm -rf /var/lib/apt/lists/*
|
||||||
WORKDIR ./
|
WORKDIR ./
|
||||||
# ARG PUID=1000
|
# ARG PUID=1000
|
||||||
# ENV GROUP dockergroup
|
# ENV GROUP=dockergroup
|
||||||
# ENV USER docker
|
# 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 useradd -u "${PUID}" -m "${USER}"
|
# 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
|
||||||
|
|
Loading…
Add table
Reference in a new issue