diff --git a/atlas/templates/docker/Dockerfile.debug.gotmpl b/atlas/templates/docker/Dockerfile.debug.gotmpl index 5c1ad06..27a061d 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.21-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..f06b9cc 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.21 AS builder LABEL stage=server-intermediate WORKDIR /go/src/{{ .Root }}/{{ .Name }}