Merge pull request #2327 from dexidp/backport-alpine-upgrade

Backport alpine upgrade
This commit is contained in:
Márk Sági-Kazár 2021-11-15 15:18:31 +01:00 committed by GitHub
commit 7e826fd68d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
FROM golang:1.16.6-alpine3.13 AS builder
FROM golang:1.16.6-alpine3.14 AS builder
WORKDIR /usr/local/src/dex
@ -29,11 +29,11 @@ ARG TARGETVARIANT
ENV GOMPLATE_VERSION=v3.9.0
RUN wget -O /usr/local/bin/gomplate \
"https://github.com/hairyhenderson/gomplate/releases/download/${GOMPLATE_VERSION}/gomplate_${TARGETOS:-linux}-${TARGETARCH:-amd64}${TARGETVARIANT}" \
&& chmod +x /usr/local/bin/gomplate
"https://github.com/hairyhenderson/gomplate/releases/download/${GOMPLATE_VERSION}/gomplate_${TARGETOS:-linux}-${TARGETARCH:-amd64}${TARGETVARIANT}" \
&& chmod +x /usr/local/bin/gomplate
FROM alpine:3.14.0
FROM alpine:3.14.3
# Dex connectors, such as GitHub and Google logins require root certificates.
# Proper installations should manage those certificates, but it's a bad user