Skip to content

Commit 5f0e44b

Browse files
committed
Move to Go 1.16 images
Verified visually. Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent a693532 commit 5f0e44b

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

template/golang-http/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/of-watchdog:0.8.4 as watchdog
2-
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.15-alpine3.13 as build
2+
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.16-alpine3.13 as build
33

44
ARG TARGETPLATFORM
55
ARG BUILDPLATFORM

template/golang-http/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module handler
22

3-
go 1.15
3+
go 1.16
44

55
replace handler/function => ./function
66

template/golang-http/template.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: golang-http
22
fprocess: ./handler
33
welcome_message: |
4-
You have created a new function which uses Go 1.15.
4+
You have created a new function which uses Go 1.16.
55
66
To include third-party dependencies, use Go modules and use
77
"--build-arg GO111MODULE=on" with faas-cli build or configure this

template/golang-middleware/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/of-watchdog:0.8.4 as watchdog
2-
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.15-alpine3.13 as build
2+
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.16-alpine3.13 as build
33

44
ARG TARGETPLATFORM
55
ARG BUILDPLATFORM

template/golang-middleware/go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module handler
22

3-
go 1.15
3+
go 1.16
44

55
replace handler/function => ./function

template/golang-middleware/template.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
language: golang-middleware
22
fprocess: ./handler
33
welcome_message: |
4-
You have created a new function which uses Go 1.15.
4+
You have created a new function which uses Go 1.16.
55
66
To include third-party dependencies, use Go modules and use
77
"--build-arg GO111MODULE=on" with faas-cli build or configure this

0 commit comments

Comments
 (0)