Skip to content

Commit 8f2dc48

Browse files
committed
Switch solr_builder to use docker hub image
This avoids a lot of the nexus/proxy/apt mirror restrictions
1 parent 0045f02 commit 8f2dc48

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

scripts/solr_builder/Dockerfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
## This image is where we should execute the Jenkins commands
2+
# WARNING: This image is pushed up to openlibrary/solrbuilder _manually_ . Changes
3+
# made to this file WILL NOT be automatically used, you have to manually rebuild/push:
4+
# docker build -t openlibrary/solr-builder:latest .
5+
# docker push openlibrary/solr-builder:latest
26

37
FROM ubuntu:jammy
48
ARG DOCKER_VERSION=5:20.10.23~3-0~ubuntu-jammy

scripts/solr_builder/Jenkinsfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
pipeline {
22
agent {
3-
dockerfile {
4-
filename 'Dockerfile'
5-
dir 'scripts/solr_builder'
3+
docker {
4+
// filename 'Dockerfile'
5+
image 'openlibrary/solr-builder:latest'
66
// Needed to make docker-in-docker work
77
args '-v /var/run/docker.sock:/var/run/docker.sock'
88
args '-v /var/lib/docker/volumes/jenkins-data:/var/lib/docker/volumes/jenkins-data'

0 commit comments

Comments
 (0)