From 8a63169d8e05ea10aa8b5c83f307b476a6f0b37f Mon Sep 17 00:00:00 2001 From: Sampo Tawast <5328394+sirtawast@users.noreply.github.com> Date: Fri, 22 Dec 2023 10:52:40 +0200 Subject: [PATCH] fix: stop OpenShift build from testing different image registries (#2658) --- backend/docker/benefit.Dockerfile | 6 +++--- frontend/Dockerfile | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/backend/docker/benefit.Dockerfile b/backend/docker/benefit.Dockerfile index 9c2d0ef10d..504357fe9c 100644 --- a/backend/docker/benefit.Dockerfile +++ b/backend/docker/benefit.Dockerfile @@ -1,5 +1,5 @@ # ============================== -FROM helsinkitest/python:3.9-slim as appbase +FROM helsinkitest/python:3.9-slim AS appbase # ============================== ARG SENTRY_RELEASE @@ -29,7 +29,7 @@ ENTRYPOINT ["/entrypoint/docker-entrypoint.sh"] COPY --chown=appuser:appuser benefit /app/ # ============================== -FROM appbase as development +FROM appbase AS development # ============================== COPY --chown=appuser:appuser benefit/requirements-dev.txt /app/requirements-dev.txt @@ -50,7 +50,7 @@ RUN django-admin compilemessages EXPOSE 8000/tcp # ============================== -FROM appbase as production +FROM appbase AS production # ============================== ARG SENTRY_RELEASE ENV SENTRY_RELEASE=$SENTRY_RELEASE diff --git a/frontend/Dockerfile b/frontend/Dockerfile index c59493fba5..4761bf1543 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,5 +1,5 @@ # ======================================= -FROM helsinkitest/node:18-slim AS distbase +FROM docker.io/helsinkitest/node:18-slim AS distbase # ======================================= # Install ca-certificates so that Sentry can upload source maps