Skip to content

Commit

Permalink
Fix Dockerfile warnings (#461)
Browse files Browse the repository at this point in the history
Signed-off-by: Faisal Memon <[email protected]>
  • Loading branch information
faisal-memon authored Jan 15, 2025
1 parent e16f53c commit 82f8ff9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
ARG goversion

# Build the manager binary
FROM --platform=${BUILDPLATFORM} golang:${goversion}-alpine as base
FROM --platform=${BUILDPLATFORM} golang:${goversion}-alpine AS base
WORKDIR /workspace
# Copy the Go Modules manifests
COPY go.* ./
Expand All @@ -22,7 +22,7 @@ COPY pkg/ pkg/
FROM --platform=${BUILDPLATFORM} tonistiigi/xx@sha256:904fe94f236d36d65aeb5a2462f88f2c537b8360475f6342e7599194f291fb7e AS xx

# Build
FROM --platform=${BUILDPLATFORM} base as builder
FROM --platform=${BUILDPLATFORM} base AS builder
ARG TARGETPLATFORM
ARG TARGETARCH
ENV CGO_ENABLED=0
Expand Down

0 comments on commit 82f8ff9

Please sign in to comment.