File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1
1
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/classic-watchdog:0.2.0 as watchdog
2
- FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.15 -alpine3.13 as builder
2
+ FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.17 -alpine3.15 as builder
3
3
4
4
ARG TARGETPLATFORM
5
5
ARG BUILDPLATFORM
Original file line number Diff line number Diff line change 1
1
module handler
2
2
3
- go 1.15
3
+ go 1.16
4
4
5
5
replace handler/function => ./function
Original file line number Diff line number Diff line change @@ -17,12 +17,10 @@ build_options:
17
17
- mysql-client
18
18
- mysql-dev
19
19
welcome_message : |
20
- You have created a new function which uses Go 1.15 and the Classic
20
+ You have created a new function which uses Go 1.17 and the Classic
21
21
OpenFaaS template.
22
22
23
- To include third-party dependencies, use Go modules and use
24
- "--build-arg GO111MODULE=on" with faas-cli build or configure this
25
- via your stack.yml file.
23
+ Go modules is enabled by default.
26
24
27
25
See more: https://docs.openfaas.com/cli/templates/
28
26
You can’t perform that action at this time.
0 commit comments