diff --git a/atlas/templates/docker/Dockerfile.debug.gotmpl b/atlas/templates/docker/Dockerfile.debug.gotmpl index 5c1ad06..0f37e8d 100644 --- a/atlas/templates/docker/Dockerfile.debug.gotmpl +++ b/atlas/templates/docker/Dockerfile.debug.gotmpl @@ -1,5 +1,5 @@ # build the server binary -FROM golang:1.19-alpine3.17 AS builder +FROM golang:1.20-alpine3.17 AS builder LABEL stage=server-intermediate # install tools diff --git a/atlas/templates/docker/Dockerfile.gotmpl b/atlas/templates/docker/Dockerfile.gotmpl index 09e303d..5ea6952 100644 --- a/atlas/templates/docker/Dockerfile.gotmpl +++ b/atlas/templates/docker/Dockerfile.gotmpl @@ -1,5 +1,5 @@ # build the server binary -FROM golang:1.19 AS builder +FROM golang:1.20 AS builder LABEL stage=server-intermediate WORKDIR /go/src/{{ .Root }}/{{ .Name }}