aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Dockerfile2
-rw-r--r--Dockerfile_distroless2
-rw-r--r--Dockerfile_distroless_vendored2
3 files changed, 3 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index 25f9dd3..01a075d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM alpine:3.19 as builder
+FROM golang:1.22-alpine3.19 as builder
RUN apk update && \
apk upgrade && \
apk add go git
diff --git a/Dockerfile_distroless b/Dockerfile_distroless
index 5b7401b..0e8b796 100644
--- a/Dockerfile_distroless
+++ b/Dockerfile_distroless
@@ -1,4 +1,4 @@
-FROM golang:1.21 as builder
+FROM golang:1.22-alpine3.19 as builder
WORKDIR /milla
COPY go.sum go.mod /milla/
RUN go mod download
diff --git a/Dockerfile_distroless_vendored b/Dockerfile_distroless_vendored
index 6c84307..01b01d5 100644
--- a/Dockerfile_distroless_vendored
+++ b/Dockerfile_distroless_vendored
@@ -1,4 +1,4 @@
-FROM golang:1.21 as builder
+FROM golang:1.22-alpine3.19 as builder
WORKDIR /milla
COPY go.sum go.mod /milla/
COPY vendor /milla/vendor