From 8d7aa68b45214acd2ce135e0500bbb9554361554 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..ce04171d355 100644 --- a/docker/Dockerfile.oldev +++ b/docker/Dockerfile.oldev @@ -1,4 +1,11 @@ FROM openlibrary/olbase:latest + +# Allow for nexus overrides (used in testing/staging builds) +ARG NPM_CONFIG_REGISTRY +ARG PIP_INDEX_URL +ARG PIP_TRUSTED_HOST +ARG HTTPS_PROXY + WORKDIR /openlibrary COPY --chown=openlibrary:openlibrary requirements*.txt ./