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 8d7aa68
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 (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 ./
Expand Down

0 comments on commit 8d7aa68

Please sign in to comment.