Merge pull request 'Update docker images Docker tags' (#38) from renovate/docker-images into main
All checks were successful
continuous-integration/woodpecker the build was successful
All checks were successful
continuous-integration/woodpecker the build was successful
Reviewed-on: #38
This commit is contained in:
commit
19a229711b
1 changed files with 2 additions and 2 deletions
|
@ -1,5 +1,5 @@
|
||||||
# STEP 1 build executable binary
|
# STEP 1 build executable binary
|
||||||
FROM golang:1.17.3-alpine3.13@sha256:07674a997a6ece514c1397c44b1d6cc45b9ade6ba9acb1d3c6072537c4cf82f1 AS builder
|
FROM golang:1.17.3-alpine3.13@sha256:33c95bc78fa434bae90c45d04e5a02612492acbb7118f35538a56ee0646c1bb7 AS builder
|
||||||
|
|
||||||
ENV FILTRON_VERSION="v0.2.0"
|
ENV FILTRON_VERSION="v0.2.0"
|
||||||
|
|
||||||
|
@ -12,7 +12,7 @@ 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 alpine:3.14.2@sha256:e1c082e3d3c45cccac829840a25941e679c25d438cc8412c2fa221cf1a824e6a
|
FROM alpine:3.14.3@sha256:635f0aa53d99017b38d1a0aa5b2082f7812b03e3cdb299103fe77b5c8a07f1d2
|
||||||
|
|
||||||
RUN apk --no-cache add ca-certificates && \
|
RUN apk --no-cache add ca-certificates && \
|
||||||
adduser -D -h /usr/local/filtron -s /bin/false filtron filtron
|
adduser -D -h /usr/local/filtron -s /bin/false filtron filtron
|
||||||
|
|
Reference in a new issue