Skip to content
This repository has been archived by the owner on Feb 2, 2021. It is now read-only.

Commit

Permalink
Bump to Go 1.15
Browse files Browse the repository at this point in the history
Latest stable Go version at time of commit.

Bumps Alpine to latest.

Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Dec 11, 2020
1 parent e16b776 commit d1eb105
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
FROM teamserverless/license-check:0.3.6 as license-check
FROM teamserverless/license-check:0.3.9 as license-check

# Build stage
FROM golang:1.13 as builder
ENV GO111MODULE=on
FROM golang:1.15 as builder

ENV GO111MODULE=on
ENV CGO_ENABLED=0

COPY --from=license-check /license-check /usr/bin/

WORKDIR /go/src/github.com/openfaas/ofc-bootstrap
COPY . .

Expand All @@ -26,7 +25,7 @@ RUN VERSION=$(git describe --all --exact-match `git rev-parse HEAD` | grep tags
-a -installsuffix cgo -o ofc-bootstrap

# Release stage
FROM alpine:3.11
FROM alpine:3.12

RUN apk --no-cache add ca-certificates git

Expand Down

0 comments on commit d1eb105

Please sign in to comment.