File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,9 @@ RUN make _build-sriov-network-config-daemon BIN_PATH=build/_output/cmd
2828FROM ${BASE_IMAGE_DOCA_BASE_RT_HOST:-nvcr.io/nvidia/doca/doca:3.1.0-base-rt-host}
2929# We have to ensure that pciutils is installed. These packages are needed for mstfwreset to succeed.
3030# xref pkg/vendors/mellanox/mellanox.go#L150
31- RUN apt-get update && apt-get install -y hwdata pciutils curl mstflint && apt-get clean && rm -rf /var/lib/apt/lists/*
31+ RUN apt-get update -o Acquire::AllowInsecureRepositories=true || true && \
32+ apt-get install -y --allow-unauthenticated hwdata pciutils curl mstflint && \
33+ apt-get clean && rm -rf /var/lib/apt/lists/*
3234
3335ARG TARGETARCH
3436ENV MFT_VERSION=4.33.0-169
@@ -37,7 +39,7 @@ RUN case ${TARGETARCH} in \
3739 arm64) ARCH=arm64 ;; \
3840 *) echo "Unsupported architecture: ${TARGETARCH}" && exit 1 ;; \
3941 esac && \
40- curl -fsSL https://www.mellanox.com/downloads/MFT/mft-${MFT_VERSION}-${ARCH}-deb.tgz | tar -xz -C /tmp && \
42+ curl -fsSL https://www.mellanox.com/downloads/MFT/mft-${MFT_VERSION}-${ARCH}-deb.tgz | tar -xz --no-same-owner - C /tmp && \
4143 cd /tmp/mft-${MFT_VERSION}-${ARCH}-deb && \
4244 ./install.sh --without-kernel
4345
You can’t perform that action at this time.
0 commit comments