Update docker images Docker tags
This commit is contained in:
parent
f8c6cb07e8
commit
416f79c706
1 changed files with 6 additions and 6 deletions
12
Dockerfile
12
Dockerfile
|
@ -1,9 +1,9 @@
|
|||
ARG ARCH
|
||||
|
||||
# STEP 1 build executable binary
|
||||
FROM amd64/golang:1.16.4-alpine3.13@sha256:9dd1788d4bd0df3006d79a88bda67cb8357ab49028eebbcb1ae64f2ec07be627 AS builder-amd64
|
||||
FROM arm32v7/golang:1.16.4-alpine3.13@sha256:548bc43bf742aa612cc545b3dc3617076d128b0b1f74f58844a51f728f6566e7 AS builder-arm
|
||||
FROM arm64v8/golang:1.16.4-alpine3.13@sha256:a1d4b3af00ca82f19ec92bbc254733d7f9bdd992987f2f5dd63798b183914d5b AS builder-arm64
|
||||
FROM amd64/golang:1.16.5-alpine3.13@sha256:c8cbfe53dae2363fa89a7359bdf2d2e7a82239ea36fe8ea5444cc365983331e6 AS builder-amd64
|
||||
FROM arm32v7/golang:1.16.5-alpine3.13@sha256:f40484c9987573dd9ca305bac918f72a221840817fced17595a87c6fc06b275f AS builder-arm
|
||||
FROM arm64v8/golang:1.16.5-alpine3.13@sha256:1ba55bae768e5b140b78671cfca51167f2eec88463314418f0904a205c34df7c AS builder-arm64
|
||||
FROM builder-${ARCH} AS builder
|
||||
|
||||
ENV FILTRON_VERSION="v0.2.0"
|
||||
|
@ -17,9 +17,9 @@ RUN apk upgrade --no-cache && \
|
|||
RUN go get -d -v && gofmt -l ./ && go build .
|
||||
|
||||
# STEP 2 build the image including only the binary
|
||||
FROM amd64/alpine:3.13.5@sha256:def822f9851ca422481ec6fee59a9966f12b351c62ccb9aca841526ffaa9f748 AS base-amd64
|
||||
FROM arm32v7/alpine:3.13.5@sha256:9663906b1c3bf891618ebcac857961531357525b25493ef717bca0f86f581ad6 AS base-arm
|
||||
FROM arm64v8/alpine:3.13.5@sha256:8f18fae117ec6e5777cc62ba78cbb3be10a8a38639ccfb949521abd95c8301a4 AS base-arm64
|
||||
FROM amd64/alpine:3.14.0@sha256:1775bebec23e1f3ce486989bfc9ff3c4e951690df84aa9f926497d82f2ffca9d AS base-amd64
|
||||
FROM arm32v7/alpine:3.14.0@sha256:8d99168167baa6a6a0d7851b9684625df9c1455116a9601835c2127df2aaa2f5 AS base-arm
|
||||
FROM arm64v8/alpine:3.14.0@sha256:53b74ddfc6225e3c8cc84d7985d0f34666e4e8b0b6892a9b2ad1f7516bc21b54 AS base-arm64
|
||||
FROM base-${ARCH}
|
||||
|
||||
RUN apk --no-cache add ca-certificates="20191127-r5" && \
|
||||
|
|
Reference in a new issue