Skip to content

Commit 656a7b4

Browse files
committed
fix ipu-plugin Dockerfile hadolint errors
fix ipu-plugin Dockerfile hadolint errors Signed-off-by: Halim, Abdul <[email protected]>
1 parent aa80c5f commit 656a7b4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

ipu-plugin/images/Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,10 @@ COPY bin/p4runtime-2023.11.0-py3-none-any.whl /opt/p4/p4-cp-nws/bin/
2424
WORKDIR /
2525
LABEL io.k8s.display-name="IPU OPI Plugin"
2626
ENV PYTHONUNBUFFERED=1
27-
RUN apk add --update --no-cache-dir python3 py3-pip && ln -sf python3 /usr/bin/python
28-
RUN pip3 install --no-cache-dir --upgrade --break-system-packages pip setuptools
29-
RUN apk add -U --no-cache python3 py3-pip \
27+
RUN apk add -U --no-cache python3 py3-pip'=='23.3.1-r0 \
3028
py3-grpcio'=='1.59.3-r0 \
3129
py3-protobuf'=='4.24.4-r0 \
32-
py3-netaddr
30+
py3-netaddr'=='0.9.0-r0
3331
RUN python3 -m pip install --no-cache-dir --break-system-packages /opt/p4/p4-cp-nws/bin/p4runtime-2023.11.0-py3-none-any.whl
3432

3533
RUN rm -rf /var/cache/apk/*

0 commit comments

Comments
 (0)