Skip to content

Commit

Permalink
Update to Alpine 1.14 for shipping container
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Jul 14, 2021
1 parent 4fd848e commit dca4fa1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/cron-connector
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN VERSION=$(git describe --all --exact-match `git rev-parse HEAD` | grep tags
-X github.com/openfaas/cron-connector/version.Version=${VERSION}" \
-a -installsuffix cgo -o cron-connector .

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

0 comments on commit dca4fa1

Please sign in to comment.