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

Commit 8b0cab2

Browse files
[StepSecurity] Apply security best practices (#211)
Signed-off-by: StepSecurity Bot <[email protected]>
1 parent 20043cb commit 8b0cab2

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

Diff for: ci/ovs_test_setup/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:22.04
1+
FROM ubuntu:22.04@sha256:2b7412e6465c3c7fc5bb21d3e6f1917c167358449fecac8176c6e496e5c1f05f
22
RUN apt-get -q update && apt-get install -y openvswitch-switch-dpdk
33
RUN update-alternatives --set ovs-vswitchd /usr/lib/openvswitch-switch-dpdk/ovs-vswitchd-dpdk
44
##RUN sed -i "/rmmod bridge/d" /usr/share/openvswitch/scripts/ovs-kmod-ctl

Diff for: ci/ovs_test_setup/testpmd_image/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:22.04
1+
FROM ubuntu:22.04@sha256:2b7412e6465c3c7fc5bb21d3e6f1917c167358449fecac8176c6e496e5c1f05f
22
RUN apt-get -q update && apt-get install -y git vim meson python3-pyelftools libnuma-dev
33
RUN git clone https://github.com/DPDK/dpdk.git
44
WORKDIR /dpdk/

Diff for: docker/testpmd/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:22.04
1+
FROM ubuntu:22.04@sha256:2b7412e6465c3c7fc5bb21d3e6f1917c167358449fecac8176c6e496e5c1f05f
22
RUN apt-get -q update && apt-get install -y git vim meson python3-pyelftools libnuma-dev
33
RUN git clone https://github.com/DPDK/dpdk.git
44
WORKDIR /dpdk/

Diff for: docker/userspacecni/Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ligato/vpp-base:23.02 as builder
1+
FROM ligato/vpp-base:23.02@sha256:e1d8737eeacd2ca662f2d0349d973b9949fa49e7ff6975bb4548d78f4e373cc0 as builder
22
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
33
COPY . /root/userspace-cni-network-plugin
44
WORKDIR /root/userspace-cni-network-plugin
@@ -14,7 +14,7 @@ RUN make generate-bin
1414
#End of builder container
1515

1616
# Copy build userspace cni bin to a small deployer container
17-
FROM alpine:3.18
17+
FROM alpine:3.18@sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978
1818
RUN mkdir -p /root/userspace-cni-network-plugin/userspace
1919
COPY --from=builder /root/userspace-cni-network-plugin/userspace/userspace /root/userspace-cni-network-plugin/userspace/userspace
2020
CMD ["cp", "-rf", "/root/userspace-cni-network-plugin/userspace/userspace", "/opt/cni/bin"]

0 commit comments

Comments
 (0)