From eef8f495cb3f7029474ea466436a060067b53ce9 Mon Sep 17 00:00:00 2001 From: Sayan Bandyopadhyay Date: Fri, 18 Oct 2024 08:45:55 -0400 Subject: [PATCH] Static analysis error --- ipu-plugin/images/Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ipu-plugin/images/Dockerfile b/ipu-plugin/images/Dockerfile index 626560e8..0c0f659b 100644 --- a/ipu-plugin/images/Dockerfile +++ b/ipu-plugin/images/Dockerfile @@ -1,13 +1,14 @@ # SPDX-License-Identifier: Apache-2.0 # Copyright (c) 2024 Intel Corporation + +ARG TARGETOS +ARG TARGETARCH ENV HTTP_PROXY $http_proxy ENV HTTPS_PROXY $https_proxy FROM golang:1.22.5-alpine@sha256:0d3653dd6f35159ec6e3d10263a42372f6f194c3dea0b35235d72aabde86486e as builder -RUN apk add --no-cache git -ARG TARGETOS -ARG TARGETARCH +RUN apk add --no-cache git RUN apk add --no-cache --virtual build-dependencies build-base COPY . /usr/src/ipu-opi-plugin WORKDIR /usr/src/ipu-opi-plugin