Skip to content

Commit 1a695cb

Browse files
authored
bump go to 1.18 in scaffolded Dockerfile (#182)
* bump go to 1.18 in scaffolded Dockerfile Signed-off-by: Bryce Palmer <[email protected]> * update testdata Signed-off-by: Bryce Palmer <[email protected]>
1 parent 7329cac commit 1a695cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pkg/plugins/hybrid/v1alpha/scaffolds/internal/templates/dockerfile.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ func (f *Dockerfile) SetTemplateDefaults() error {
4141
// `api/` and `controller/` they would have to be added.
4242

4343
const dockerfileTemplate = `# Build the manager binary
44-
FROM golang:1.17 as builder
44+
FROM golang:1.18 as builder
4545
4646
WORKDIR /workspace
4747
# Copy the Go Modules manifests

testdata/hybrid/memcached-operator/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Build the manager binary
2-
FROM golang:1.17 as builder
2+
FROM golang:1.18 as builder
33

44
WORKDIR /workspace
55
# Copy the Go Modules manifests

0 commit comments

Comments
 (0)