Skip to content

Commit 680916d

Browse files
committed
Update base Go version
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
1 parent 2a29ec8 commit 680916d

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ See: `faas-cli template store list` to see which templates are both: recommended
1717
| Name | Language | Version | Linux base | Watchdog | Link
1818
|:-----|:---------|:--------|:-----------|:---------|:----
1919
| dockerfile | Dockerfile | N/A | Alpine Linux | classic | [Dockerfile template](https://github.com/openfaas/templates/tree/master/template/dockerfile)
20-
| go | Go | 1.22 | Alpine Linux | classic | [Legacy Go template (deprecated)](https://github.com/openfaas/templates/tree/master/template/go)
20+
| go | Go | 1.23 | Alpine Linux | classic | [Legacy Go template (deprecated)](https://github.com/openfaas/templates/tree/master/template/go)
2121
| node18 | NodeJS | 18 | Alpine Linux | of-watchdog | [NodeJS template (deprecated)](https://github.com/openfaas/templates/tree/master/template/node18)
2222
| node20 | NodeJS | 20 | Alpine Linux | of-watchdog | [NodeJS template](https://github.com/openfaas/templates/tree/master/template/node20)
2323
| bun-express | Bun | 1.0 | Alpine Linux | of-watchdog | [NodeJS template](https://github.com/openfaas/templates/tree/master/template/bun-express)

template/go/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
FROM --platform=${TARGETPLATFORM:-linux/amd64} ghcr.io/openfaas/classic-watchdog:0.3.1 AS watchdog
2-
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.22-alpine3.20 AS build
2+
FROM --platform=${BUILDPLATFORM:-linux/amd64} golang:1.23-alpine3.20 AS build
33

44
ARG TARGETPLATFORM
55
ARG BUILDPLATFORM

template/go/function/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module handler/function
22

3-
go 1.19
3+
go 1.23

template/go/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
module handler
22

3-
go 1.20
3+
go 1.23

template/go/go.work

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
go 1.19
1+
go 1.23
22

33
use (
44
.

0 commit comments

Comments
 (0)