Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit 9e73857

Browse files
authored
Fix. pipCommand not pinned by hash in ci (#361)
* Fix. pipCommand not pinned by hash in ci Signed-off-by: Eoghan Conlon <[email protected]>
1 parent 9f3c3b4 commit 9e73857

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

ci/ovs_test_setup/testpmd_image/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
FROM ubuntu:22.04@sha256:6042500cf4b44023ea1894effe7890666b0c5c7871ed83a97c36c76ae560bb9b
2+
COPY ./requirements.txt /
23
RUN apt-get -q update \
34
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
45
git \
@@ -9,7 +10,7 @@ RUN apt-get -q update \
910
python3-pip \
1011
ninja-build \
1112
build-essential \
12-
&& pip3 install --no-cache-dir --upgrade meson==1.3.0 \
13+
&& pip3 install --no-cache-dir --upgrade --require-hashes -r requirements.txt \
1314
&& rm -rf /var/lib/apt/lists/*
1415
RUN apt-get update -y \
1516
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates \
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
meson==1.3.0 --hash=sha256:e9f54046ce5b9a1f3024f7a7d52f19f085fd57c9d26a5db0cfcf0750572a8fd8

docker/testpmd/Dockerfile

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
FROM ubuntu:22.04@sha256:bbf3d1baa208b7649d1d0264ef7d522e1dc0deeeaaf6085bf8e4618867f03494
2+
COPY ./requirements.txt /
23
RUN apt-get -q update \
34
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
45
git \
@@ -9,7 +10,7 @@ RUN apt-get -q update \
910
python3-pip \
1011
ninja-build \
1112
build-essential \
12-
&& pip3 install --no-cache-dir --upgrade meson==1.3.0 \
13+
&& pip3 install --no-cache-dir --upgrade --require-hashes -r requirements.txt \
1314
&& rm -rf /var/lib/apt/lists/*
1415
RUN apt-get update -y \
1516
&& DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates \

docker/testpmd/requirements.txt

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
meson==1.3.0 --hash=sha256:e9f54046ce5b9a1f3024f7a7d52f19f085fd57c9d26a5db0cfcf0750572a8fd8

0 commit comments

Comments
 (0)