From 10f97043dd73fa59daa46cd663ba0aca737fc907 Mon Sep 17 00:00:00 2001 From: Milos Despotovic Date: Thu, 29 Feb 2024 15:11:53 -0800 Subject: [PATCH] Update Dockerfiles --- apps/forms-flow-ai/forms-flow-bpm/Dockerfile | 2 +- notification-manager/dockerfile | 1 + openshift/templates/backup/copy-to-s3/Dockerfile | 1 + request-management-api/dockerfile | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/apps/forms-flow-ai/forms-flow-bpm/Dockerfile b/apps/forms-flow-ai/forms-flow-bpm/Dockerfile index b57d0c0cc..604cc3d2c 100644 --- a/apps/forms-flow-ai/forms-flow-bpm/Dockerfile +++ b/apps/forms-flow-ai/forms-flow-bpm/Dockerfile @@ -3,7 +3,7 @@ # Maven build FROM artifacts.developer.gov.bc.ca/docker-remote/maven:3.6.1-jdk-11-slim AS MAVEN_TOOL_CHAIN -RUN apt-get update \ +RUN set -eux; apt-get update; apt-get install -y --no-install-recommends \ && apt-get install -y git RUN git clone -b ${FORMIO_SOURCE_REPO_BRANCH} ${FORMIO_SOURCE_REPO_URL} /bpm/ diff --git a/notification-manager/dockerfile b/notification-manager/dockerfile index a94c918a0..4c8e4fffd 100644 --- a/notification-manager/dockerfile +++ b/notification-manager/dockerfile @@ -4,6 +4,7 @@ # Necessary to pull images from bcgov and not hit Dockerhub quotas. FROM artifacts.developer.gov.bc.ca/docker-remote/python:3.8.5-buster EXPOSE 6402 +RUN apt-get update && apt-get install -y --no-install-recommends # Keeps Python from generating .pyc files in the container ENV PYTHONDONTWRITEBYTECODE=1 diff --git a/openshift/templates/backup/copy-to-s3/Dockerfile b/openshift/templates/backup/copy-to-s3/Dockerfile index a94c918a0..7c3f2dbf9 100644 --- a/openshift/templates/backup/copy-to-s3/Dockerfile +++ b/openshift/templates/backup/copy-to-s3/Dockerfile @@ -4,6 +4,7 @@ # Necessary to pull images from bcgov and not hit Dockerhub quotas. FROM artifacts.developer.gov.bc.ca/docker-remote/python:3.8.5-buster EXPOSE 6402 +RUN apt-get update && apt-get install -y --no-install-recommends # Keeps Python from generating .pyc files in the container ENV PYTHONDONTWRITEBYTECODE=1 diff --git a/request-management-api/dockerfile b/request-management-api/dockerfile index b419472d2..485bb2cec 100644 --- a/request-management-api/dockerfile +++ b/request-management-api/dockerfile @@ -4,6 +4,7 @@ # Necessary to pull images from bcgov and not hit Dockerhub quotas. FROM artifacts.developer.gov.bc.ca/docker-remote/python:3.10.8-buster EXPOSE 6402 +RUN set -eux; apt-get update; apt-get install -y --no-install-recommends # Keeps Python from generating .pyc files in the container ENV PYTHONDONTWRITEBYTECODE=1