git.iko.soy/typeable/oauth2-proxy
on master help sign in
Update Dockerfile with qualified image names (#2138)

Use fully qualified image names in the Dockerfile to simplify usage with alternate container build tools, like buildah and podman

commita84e9f4d26df13d600c57ca2f5f12afb0a6b5a49 authorAigars Mahinovs <aigarius@gmail.com> dateMon 21 Aug 2023, 12:26 (3 years ago) parentd107d88
1 file changed+2−2
Dockerfile+2−2
Dockerfile+2−2
@@ -1,11 +1,11 @@
11# This ARG has to be at the top, otherwise the docker daemon does not known what to do with FROM ${RUNTIME_IMAGE}
2−ARG RUNTIME_IMAGE=alpine:3.17.2
2+ARG RUNTIME_IMAGE=docker.io/library/alpine:3.17.2
33
44# All builds should be done using the platform native to the build node to allow
55# cache sharing of the go mod download step.
66# Go cross compilation is also faster than emulation the go compilation across
77# multiple platforms.
8−FROM --platform=${BUILDPLATFORM} golang:1.19-buster AS builder
8+FROM --platform=${BUILDPLATFORM} docker.io/library/golang:1.19-buster AS builder
99
1010# Copy sources
1111WORKDIR $GOPATH/src/github.com/oauth2-proxy/oauth2-proxy