From 6f740385097f4a491c435eaf9e8f0b3bda766f75 Mon Sep 17 00:00:00 2001 From: g2flyer Date: Tue, 30 Jan 2024 08:21:16 -0800 Subject: [PATCH] Removal of docker ARG duplicates Signed-off-by: g2flyer --- docker/pdo_client.dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/docker/pdo_client.dockerfile b/docker/pdo_client.dockerfile index 3bf8cf6a..df44ce1d 100644 --- a/docker/pdo_client.dockerfile +++ b/docker/pdo_client.dockerfile @@ -30,7 +30,7 @@ ARG UNAME=pdo_client ENV UNAME=${UNAME} ARG UID=1000 -ARG GID=$UID +ARG GID=${UID} RUN groupadd -f -g $GID -o $UNAME RUN useradd -m -u $UID -g $GID -d /project/pdo -o -s /bin/bash $UNAME @@ -68,8 +68,6 @@ WORKDIR /project/pdo/tools COPY --chown=${UNAME}:${UNAME} tools/*.sh ./ # build it!!! -ARG UID=1000 -ARG GID=${UID} RUN --mount=type=cache,uid=${UID},gid=${GID},target=/project/pdo/.cache/pip \ /project/pdo/tools/build_client.sh