From 828eeb5ebba25fb11e2f869475510a3b1f056253 Mon Sep 17 00:00:00 2001 From: Steven Armstrong Date: Wed, 29 Sep 2021 09:52:07 +0200 Subject: [PATCH] root: Use fully qualified names for docker bases base images. (#1490) Signed-off-by: Steven Armstrong --- Dockerfile | 10 +++++----- ldap.Dockerfile | 2 +- proxy.Dockerfile | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 478bee75f..3767c7e4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,5 @@ # Stage 1: Lock python dependencies -FROM python:3.9-slim-buster as locker +FROM docker.io/python:3.9-slim-buster as locker COPY ./Pipfile /app/ COPY ./Pipfile.lock /app/ @@ -11,7 +11,7 @@ RUN pip install pipenv && \ pipenv lock -r --dev-only > requirements-dev.txt # Stage 2: Build website -FROM node as website-builder +FROM docker.io/node as website-builder COPY ./website /static/ @@ -19,7 +19,7 @@ ENV NODE_ENV=production RUN cd /static && npm i && npm run build-docs-only # Stage 3: Build webui -FROM node as web-builder +FROM docker.io/node as web-builder COPY ./web /static/ @@ -27,7 +27,7 @@ ENV NODE_ENV=production RUN cd /static && npm i && npm run build # Stage 4: Build go proxy -FROM golang:1.17.1 AS builder +FROM docker.io/golang:1.17.1 AS builder WORKDIR /work @@ -47,7 +47,7 @@ COPY ./go.sum /work/go.sum RUN go build -o /work/authentik ./cmd/server/main.go # Stage 5: Run -FROM python:3.9-slim-buster +FROM docker.io/python:3.9-slim-buster WORKDIR / COPY --from=locker /app/requirements.txt / diff --git a/ldap.Dockerfile b/ldap.Dockerfile index cbd80d273..91777c0f8 100644 --- a/ldap.Dockerfile +++ b/ldap.Dockerfile @@ -1,5 +1,5 @@ # Stage 1: Build -FROM golang:1.17.1 AS builder +FROM docker.io/golang:1.17.1 AS builder WORKDIR /go/src/goauthentik.io diff --git a/proxy.Dockerfile b/proxy.Dockerfile index 25fee93fe..804818324 100644 --- a/proxy.Dockerfile +++ b/proxy.Dockerfile @@ -1,5 +1,5 @@ # Stage 1: Build website -FROM node as web-builder +FROM docker.io/node as web-builder COPY ./web /static/ @@ -7,7 +7,7 @@ ENV NODE_ENV=production RUN cd /static && npm i && npm run build # Stage 2: Build -FROM golang:1.17.1 AS builder +FROM docker.io/golang:1.17.1 AS builder WORKDIR /go/src/goauthentik.io