Skip to content

Commit 195fc7a

Browse files
committed
Revert change to multi-arch operator
The operator Dockerfile was not building as multi-arch due to the movement of the ARGS for platforms. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <alexellis2@gmail.com>
1 parent e743f9e commit 195fc7a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1+
FROM --platform=${BUILDPLATFORM:-linux/amd64} teamserverless/license-check:0.3.9 as license-check
2+
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.13 as builder
13
ARG TARGETPLATFORM
24
ARG BUILDPLATFORM
35
ARG TARGETOS
46
ARG TARGETARCH
57

6-
FROM --platform=${BUILDPLATFORM:-linux/amd64} teamserverless/license-check:0.3.9 as license-check
7-
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.13 as builder
88

99
ARG Version
1010
ARG GitCommit

0 commit comments

Comments
 (0)