We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e1e8347 + eeda3d3 commit 424c60dCopy full SHA for 424c60d
Dockerfile
@@ -1,6 +1,6 @@
1
# syntax=docker/dockerfile:1
2
3
-FROM --platform=$BUILDPLATFORM golang:1.19-alpine3.17 as build
+FROM --platform=$BUILDPLATFORM golang:1.20-alpine3.18 as build
4
5
WORKDIR $GOPATH/src/app
6
COPY . .
@@ -9,7 +9,7 @@ ARG TARGETOS TARGETARCH
9
RUN CGO_ENABLED=0 GOOS=$TARGETOS GOARCH=$TARGETARCH go build -ldflags="-w" -a -o .
10
11
12
-FROM alpine:3.17
+FROM alpine:3.18
13
ENV GOPATH="/go/src"
14
WORKDIR /run
15
go.mod
module rest-gateway
-go 1.19
+go 1.20
require (
github.com/go-playground/validator/v10 v10.11.1
0 commit comments