Skip to content

Commit

Permalink
bump go to 1.18 in scaffolded Dockerfile (#182)
Browse files Browse the repository at this point in the history
* bump go to 1.18 in scaffolded Dockerfile

Signed-off-by: Bryce Palmer <bpalmer@redhat.com>

* update testdata

Signed-off-by: Bryce Palmer <bpalmer@redhat.com>
  • Loading branch information
everettraven committed Jun 16, 2022
1 parent 7329cac commit 1a695cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (f *Dockerfile) SetTemplateDefaults() error {
// `api/` and `controller/` they would have to be added.

const dockerfileTemplate = `# Build the manager binary
FROM golang:1.17 as builder
FROM golang:1.18 as builder
WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down
2 changes: 1 addition & 1 deletion testdata/hybrid/memcached-operator/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM golang:1.17 as builder
FROM golang:1.18 as builder

WORKDIR /workspace
# Copy the Go Modules manifests
Expand Down

0 comments on commit 1a695cb

Please sign in to comment.