Skip to content

Commit ced637d

Browse files
authored
Fix Jenkins oldev build (#10129)
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.
1 parent 81681fb commit ced637d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docker/Dockerfile.oldev

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,11 @@
11
FROM openlibrary/olbase:latest
2+
3+
# Allow for nexus overrides (used in testing/staging builds)
4+
ARG NPM_CONFIG_REGISTRY
5+
ARG PIP_INDEX_URL
6+
ARG PIP_TRUSTED_HOST
7+
ARG HTTPS_PROXY
8+
29
WORKDIR /openlibrary
310

411
COPY --chown=openlibrary:openlibrary requirements*.txt ./

0 commit comments

Comments
 (0)