aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2024-06-04 10:50:49 +0000
committerterminaldweller <devi@terminaldweller.com>2024-06-04 10:50:49 +0000
commit38e1f10993e7839ee2d12ef857e5a311730561dd (patch)
treec5e30a9a1704c0f391726d18fe79801ded5e9976
parentupdated readme some more (diff)
downloadmilla-38e1f10993e7839ee2d12ef857e5a311730561dd.tar.gz
milla-38e1f10993e7839ee2d12ef857e5a311730561dd.zip
updated all images to alpine 3.20
Diffstat (limited to '')
-rw-r--r--Dockerfile4
-rw-r--r--Dockerfile_distroless2
-rw-r--r--Dockerfile_distroless_vendored2
3 files changed, 4 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 01a075d..ba332b2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,4 +1,4 @@
-FROM golang:1.22-alpine3.19 as builder
+FROM golang:1.22-alpine3.20 as builder
RUN apk update && \
apk upgrade && \
apk add go git
@@ -8,7 +8,7 @@ RUN go mod download
COPY *.go /milla/
RUN go build
-FROM alpine:3.19
+FROM alpine:3.20
ENV HOME /home/user
RUN set -eux; \
adduser -u 1001 -D -h "$HOME" user; \
diff --git a/Dockerfile_distroless b/Dockerfile_distroless
index 0e8b796..c27c80a 100644
--- a/Dockerfile_distroless
+++ b/Dockerfile_distroless
@@ -1,4 +1,4 @@
-FROM golang:1.22-alpine3.19 as builder
+FROM golang:1.22-alpine3.20 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 01b01d5..0ccc497 100644
--- a/Dockerfile_distroless_vendored
+++ b/Dockerfile_distroless_vendored
@@ -1,4 +1,4 @@
-FROM golang:1.22-alpine3.19 as builder
+FROM golang:1.22-alpine3.20 as builder
WORKDIR /milla
COPY go.sum go.mod /milla/
COPY vendor /milla/vendor