Compare commits

...

2 commits

Author SHA1 Message Date
6a5245fe80 Merge pull request 'Update docker images Docker tags' (#31) from renovate/docker-images into main
All checks were successful
continuous-integration/drone/push Build is passing
Reviewed-on: #31
2021-08-12 20:35:54 +00:00
95ad6a4863 Update docker images Docker tags 2021-08-06 19:01:07 +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.6-alpine3.13@sha256:4a66111be0397d2e59cac61d51aac106fe1a090bbc7fc1aed906f29f671b1efc AS builder-amd64 FROM golang:1.16.7-alpine3.13@sha256:eba9c47f522b41337dbac394f18df4b040ba8bdb4e28e4ce0f504780d59acd86 AS builder-amd64
FROM arm32v7/golang:1.16.6-alpine3.13@sha256:b83c0a6b7314fa6b0c764dadeb46ce9ea1eabbef2965b96dfdc079fcdb23c253 AS builder-arm FROM arm32v7/golang:1.16.7-alpine3.13@sha256:1f52cd915cb844d697536be79c45f775daa5e3d954c23c0691938370670ed7dd AS builder-arm
FROM arm64v8/golang:1.16.6-alpine3.13@sha256:7331f6c4317e23cce90fbb4483c83e3a49b262770f525efabb9954187c922307 AS builder-arm64 FROM arm64v8/golang:1.16.7-alpine3.13@sha256:2ce14a0842a200c1edd14e9535f13b15ca03fd98b237d589f8ca971f10a411a3 AS builder-arm64
FROM builder-${ARCH} AS builder FROM builder-${ARCH} AS builder
ENV FILTRON_VERSION="v0.2.0" ENV FILTRON_VERSION="v0.2.0"
@ -17,9 +17,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.14.0@sha256:1775bebec23e1f3ce486989bfc9ff3c4e951690df84aa9f926497d82f2ffca9d AS base-amd64 FROM alpine:3.14.1@sha256:be9bdc0ef8e96dbc428dc189b31e2e3b05523d96d12ed627c37aa2936653258c AS base-amd64
FROM arm32v7/alpine:3.14.0@sha256:8d99168167baa6a6a0d7851b9684625df9c1455116a9601835c2127df2aaa2f5 AS base-arm FROM arm32v7/alpine:3.14.1@sha256:fb9ac82b4cc94c5a6c416a1c656b3ee84df9290ab4106c260eb959997e759e5e AS base-arm
FROM arm64v8/alpine:3.14.0@sha256:53b74ddfc6225e3c8cc84d7985d0f34666e4e8b0b6892a9b2ad1f7516bc21b54 AS base-arm64 FROM arm64v8/alpine:3.14.1@sha256:bd9137c3bb45dbc40cde0f0e19a8b9064c2bc485466221f5e95eb72b0d0cf82e AS base-arm64
FROM base-${ARCH} FROM base-${ARCH}
RUN apk --no-cache add ca-certificates="20191127-r5" && \ RUN apk --no-cache add ca-certificates="20191127-r5" && \