Skip to content

Commit

Permalink
Static analysis error
Browse files Browse the repository at this point in the history
  • Loading branch information
saynb committed Oct 18, 2024
1 parent f8d607d commit eef8f49
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ipu-plugin/images/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
# SPDX-License-Identifier: Apache-2.0
# Copyright (c) 2024 Intel Corporation

ARG TARGETOS
ARG TARGETARCH
ENV HTTP_PROXY $http_proxy

Check failure on line 6 in ipu-plugin/images/Dockerfile

View workflow job for this annotation

GitHub Actions / Hadolint

DL3061 error: Invalid instruction order. Dockerfile must begin with `FROM`, `ARG` or comment.

Check failure on line 6 in ipu-plugin/images/Dockerfile

View workflow job for this annotation

GitHub Actions / Hadolint

DL3061 error: Invalid instruction order. Dockerfile must begin with `FROM`, `ARG` or comment.
ENV HTTPS_PROXY $https_proxy

Check failure on line 7 in ipu-plugin/images/Dockerfile

View workflow job for this annotation

GitHub Actions / Hadolint

DL3061 error: Invalid instruction order. Dockerfile must begin with `FROM`, `ARG` or comment.

Check failure on line 7 in ipu-plugin/images/Dockerfile

View workflow job for this annotation

GitHub Actions / Hadolint

DL3061 error: Invalid instruction order. Dockerfile must begin with `FROM`, `ARG` or comment.

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
Expand Down

0 comments on commit eef8f49

Please sign in to comment.