Skip to content

Commit

Permalink
omit the --platform argument (#101)
Browse files Browse the repository at this point in the history
  • Loading branch information
mazay committed Aug 13, 2024
1 parent 83d02ae commit 3429516
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,4 +1,4 @@
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.20.4-alpine3.16 AS builder
FROM golang:1.20.4-alpine3.16 AS builder
ARG RELEASE_VERSION=devel
ARG TARGETOS
ARG TARGETARCH
Expand All @@ -12,7 +12,7 @@ RUN go mod download
# hadolint ignore=DL3059
RUN go build

FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.20.2
FROM alpine:3.20.2
ARG TARGETPLATFORM
LABEL maintainer="Yevgeniy Valeyev <[email protected]>"
# hadolint ignore=DL3018
Expand Down

0 comments on commit 3429516

Please sign in to comment.