Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ COPY scripts/*.py ${ROBOT_HOME}/
COPY requirements.txt ${ROBOT_HOME}/requirements.txt
COPY library ${ROBOT_HOME}/integration-tests-built-in-library

ARG PIP="25.3"

RUN \
# Install dependencies
apk add --update --no-cache \
Expand All @@ -35,7 +37,7 @@ RUN \
&& useradd -s /bin/bash -r -g robot --uid=${USER_ID} robot \
&& usermod -a -G 0 robot \
# Install dependencies
&& python3 -m pip install --no-cache-dir --upgrade \
&& python3 -m pip install --no-cache-dir --upgrade pip==${PIP} \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a question, maybe better to set pip==25.3 inside the RUN instruction? In this case, Dependabot can automatically update the version. Not sure that Dependabot can update when a version is specified as an argument.
Plus, I don't see in GitHub Action for build that this new ARG is really used.

pip \
setuptools \
&& python3 -m pip install --no-cache-dir -r ${ROBOT_HOME}/requirements.txt \
Expand Down
Loading