Skip to content

Commit e53b9c4

Browse files
committed
Bump Go version to 1.15
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 429edae commit e53b9c4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM teamserverless/license-check:0.3.9 as license-check
22

33
# Build stage
4-
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.13-alpine as builder
4+
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.15 as builder
55

66
ARG TARGETPLATFORM
77
ARG BUILDPLATFORM
@@ -17,7 +17,6 @@ ENV CGO_ENABLED=0
1717

1818
WORKDIR /usr/bin/
1919

20-
RUN apk --no-cache add git
2120
COPY --from=license-check /license-check /usr/bin/
2221

2322
WORKDIR /go/src/github.com/openfaas/faas-cli

Dockerfile.redist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
FROM teamserverless/license-check:0.3.6 as license-check
22

33
# Build stage
4-
FROM golang:1.13 as builder
4+
FROM golang:1.15 as builder
55

66
ARG GIT_COMMIT
77
ARG VERSION

0 commit comments

Comments
 (0)