diff options
author | terminaldweller <devi@terminaldweller.com> | 2024-06-04 10:50:49 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2024-06-04 10:50:49 +0000 |
commit | 38e1f10993e7839ee2d12ef857e5a311730561dd (patch) | |
tree | c5e30a9a1704c0f391726d18fe79801ded5e9976 | |
parent | updated readme some more (diff) | |
download | milla-38e1f10993e7839ee2d12ef857e5a311730561dd.tar.gz milla-38e1f10993e7839ee2d12ef857e5a311730561dd.zip |
updated all images to alpine 3.20
-rw-r--r-- | Dockerfile | 4 | ||||
-rw-r--r-- | Dockerfile_distroless | 2 | ||||
-rw-r--r-- | Dockerfile_distroless_vendored | 2 |
3 files changed, 4 insertions, 4 deletions
@@ -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 |