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 11FROM --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
33
44ARG TARGETPLATFORM
55ARG BUILDPLATFORM
Original file line number Diff line number Diff line change 11module handler
22
3- go 1.15
3+ go 1.16
44
55replace handler/function => ./function
Original file line number Diff line number Diff line change @@ -17,12 +17,10 @@ build_options:
1717 - mysql-client
1818 - mysql-dev
1919welcome_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
2121 OpenFaaS template.
2222
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.
2624
2725 See more: https://docs.openfaas.com/cli/templates/
2826
You can’t perform that action at this time.
0 commit comments