File tree Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Expand file tree Collapse file tree 4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 11FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/of-watchdog:0.9.3 as watchdog
2- FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.16 -alpine3.14 as build
2+ FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.17 -alpine3.15 as build
33
44ARG TARGETPLATFORM
55ARG BUILDPLATFORM
Original file line number Diff line number Diff line change 11language : golang-http
22fprocess : ./handler
33welcome_message : |
4- You have created a new function which uses Go 1.16.
4+ You have created a new function which uses Go 1.17 and Alpine
5+ Linux as its base image.
56
67 To disable the go module, for private vendor code, please use
78 "--build-arg GO111MODULE=off" with faas-cli build or configure this
89 via your stack.yml file.
910
1011 See more: https://docs.openfaas.com/cli/templates/
11- For detailed examples:
12+
13+ For the template's repo and more examples:
1214 https://github.com/openfaas-incubator/golang-http-template
Original file line number Diff line number Diff line change 11FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/of-watchdog:0.9.3 as watchdog
2- FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.16 -alpine3.14 as build
2+ FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.17 -alpine3.15 as build
33
44ARG TARGETPLATFORM
55ARG BUILDPLATFORM
Original file line number Diff line number Diff line change 11language : golang-middleware
22fprocess : ./handler
33welcome_message : |
4- You have created a new function which uses Go 1.16.
4+ You have created a new function which uses Go 1.17 and Alpine
5+ Linux as its base image.
56
67 To disable the go module, for private vendor code, please use
78 "--build-arg GO111MODULE=off" with faas-cli build or configure this
89 via your stack.yml file.
910
1011 See more: https://docs.openfaas.com/cli/templates/
11- For detailed examples:
12+
13+ For the template's repo and more examples:
1214 https://github.com/openfaas-incubator/golang-http-template
You can’t perform that action at this time.
0 commit comments