Skip to content

Commit

Permalink
Removal of docker ARG duplicates
Browse files Browse the repository at this point in the history
Signed-off-by: g2flyer <[email protected]>
  • Loading branch information
g2flyer authored and cmickeyb committed Jan 31, 2024
1 parent 33a2656 commit 6f74038
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docker/pdo_client.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 6f74038

Please sign in to comment.