Skip to content

Commit

Permalink
Fix Jenkins oldev build
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
cdrini committed Dec 6, 2024
1 parent f1f4efd commit 1ef7f77
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker/Dockerfile.oldev
Original file line number Diff line number Diff line change
@@ -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 ./
Expand Down

0 comments on commit 1ef7f77

Please sign in to comment.