Skip to content

Commit

Permalink
Correct the ship platform
Browse files Browse the repository at this point in the history
This was running on the buildplatform and so failing to
execute as expected

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Nov 10, 2020
1 parent 0b023df commit d1eacfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN VERSION=$(git describe --all --exact-match `git rev-parse HEAD` | grep tags
-X github.com/openfaas/faas-netes/version.Version=${VERSION}" \
-a -installsuffix cgo -o faas-netes .

FROM alpine:3.12 as ship
FROM --platform=${TARGETPLATFORM:-linux/amd64} alpine:3.12 as ship
LABEL org.label-schema.license="MIT" \
org.label-schema.vcs-url="https://github.com/openfaas/faas-netes" \
org.label-schema.vcs-type="Git" \
Expand Down

0 comments on commit d1eacfc

Please sign in to comment.