Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch solr_builder to use docker hub image #10441

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions scripts/solr_builder/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
## This image is where we should execute the Jenkins commands
# WARNING: This image is pushed up to openlibrary/solrbuilder _manually_ . Changes
# made to this file WILL NOT be automatically used, you have to manually rebuild/push:
# docker build -t openlibrary/solr-builder:latest .
# docker push openlibrary/solr-builder:latest

FROM ubuntu:jammy
ARG DOCKER_VERSION=5:20.10.23~3-0~ubuntu-jammy
Expand Down
6 changes: 3 additions & 3 deletions scripts/solr_builder/Jenkinsfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
pipeline {
agent {
dockerfile {
filename 'Dockerfile'
dir 'scripts/solr_builder'
docker {
// filename 'Dockerfile'
image 'openlibrary/solr-builder:latest'
// Needed to make docker-in-docker work
args '-v /var/run/docker.sock:/var/run/docker.sock'
args '-v /var/lib/docker/volumes/jenkins-data:/var/lib/docker/volumes/jenkins-data'
Expand Down
Loading