From 1ef7f77ee939094365a808d2e075b6ebb0493e7d Mon Sep 17 00:00:00 2001 From: Drini Cami Date: Fri, 6 Dec 2024 15:35:16 -0500 Subject: [PATCH] Fix Jenkins oldev build Jenkins rebuilds the oldev image when pip dependencies change, so it needs to be able to set the nexus URL for package repos in the build. --- docker/Dockerfile.oldev | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docker/Dockerfile.oldev b/docker/Dockerfile.oldev index ecd1986257d..7312a80c1c1 100644 --- a/docker/Dockerfile.oldev +++ b/docker/Dockerfile.oldev @@ -1,4 +1,11 @@ FROM openlibrary/olbase:latest + +# Allow for nexus overrides +ARG PIP_INDEX_URL +ENV PIP_INDEX_URL=${PIP_INDEX_URL:-} +ARG NPM_CONFIG_REGISTRY +ENV NPM_CONFIG_REGISTRY=${NPM_CONFIG_REGISTRY:-} + WORKDIR /openlibrary COPY --chown=openlibrary:openlibrary requirements*.txt ./