Update docker images Docker tags #16

Merged
samuel-p merged 1 commit from renovate/docker-docker-images into main 2021-03-26 11:18:46 +00:00

View file

@ -1,9 +1,9 @@
ARG ARCH ARG ARCH
# STEP 1 build executable binary # STEP 1 build executable binary
FROM amd64/golang:1.16.2-alpine3.13@sha256:12d5f94cd4d2840e538e82e26a5dfddf711b30cc98a9f6e01bcf65d7aaf7ccd8 AS builder-amd64 FROM amd64/golang:1.16.2-alpine3.13@sha256:4aee936562c29840e20ddb14bdbe028f7a7f376f2932096f5bfcc1931ec9f7c1 AS builder-amd64
FROM arm32v7/golang:1.16.2-alpine3.13@sha256:6f7bcdb508aab1815cae87fba19bce654dc86162c59b7b5b5298896e832115f0 AS builder-arm FROM arm32v7/golang:1.16.2-alpine3.13@sha256:b1d11ae3a57e214620430094f54b37b07d76a7227771a53ea21270902a2f2f21 AS builder-arm
FROM arm64v8/golang:1.16.2-alpine3.13@sha256:d139df25369b0041837d156863d2502187a4e7d93c7af4f25202b10a099abd02 AS builder-arm64 FROM arm64v8/golang:1.16.2-alpine3.13@sha256:8cab145c26bb1d6e0369c53c0c8def3781c218ab7099a879262fd9b5e4ed9197 AS builder-arm64
FROM builder-${ARCH} AS builder FROM builder-${ARCH} AS builder
ENV MORTY_VERSION="f9abaeba78f4156cc1a5f739ca679dd6d1e85332" ENV MORTY_VERSION="f9abaeba78f4156cc1a5f739ca679dd6d1e85332"
@ -18,9 +18,9 @@ RUN apk upgrade --no-cache && \
RUN go get -d -v && gofmt -l ./ && go build . RUN go get -d -v && gofmt -l ./ && go build .
# STEP 2 build the image including only the binary # STEP 2 build the image including only the binary
FROM amd64/alpine:3.13.2@sha256:4661fb57f7890b9145907a1fe2555091d333ff3d28db86c3bb906f6a2be93c87 AS base-amd64 FROM amd64/alpine:3.13.3@sha256:4266485e304a825d82c375d3584121b53c802e3540d6b520b212a9f0784d56f5 AS base-amd64
FROM arm32v7/alpine:3.13.2@sha256:db5f021b29ec8fcf605f00d2aac06345756b0ffbdea0e7994044fe9172619a0a AS base-arm FROM arm32v7/alpine:3.13.3@sha256:20e384223963ef2fd24ec9341eaad4c796673da0e848387e6fe53ee2ec118d0e AS base-arm
FROM arm64v8/alpine:3.13.2@sha256:c45a1db6e04b73aad9e06b08f2de11ce8e92d894141b2e801615fa7a8f68314a AS base-arm64 FROM arm64v8/alpine:3.13.3@sha256:31605c2bc05b020943d5c20a108f4bfe1af47e0a818e94411041805d1374ab42 AS base-arm64
FROM base-${ARCH} FROM base-${ARCH}
RUN apk upgrade --no-cache && \ RUN apk upgrade --no-cache && \