Skip to content

Commit

Permalink
Merge pull request #563 from scientist-softserv/add-solr-build
Browse files Browse the repository at this point in the history
Adds a solr build
  • Loading branch information
aprilrieger authored Nov 22, 2023
2 parents ef0595a + e5cf8cd commit 1296d07
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 1 deletion.
18 changes: 18 additions & 0 deletions .github/workflows/build-solr.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: "Build Solr"
run-name: Build Solr of ${{ github.ref_name }} by @${{ github.actor }}
on:
workflow_dispatch:
inputs:
debug_enabled:
type: boolean
description: 'Run the build with tmate debugging enabled (https://github.com/marketplace/actions/debugging-with-tmate)'
required: false
default: false

jobs:
build:
uses: scientist-softserv/actions/.github/workflows/build.yaml@v0.0.14
secrets: inherit
with:
platforms: "linux/amd64"
solrTarget: hyku-solr
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ services:
image: hyku/solr:8
build:
context: solr
target: hyku-solr
dockerfile: Dockerfile
environment:
- OOM=script
Expand Down
2 changes: 1 addition & 1 deletion solr/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM solr:8.3
FROM solr:8.3 as hyku-solr
ENV SOLR_USER="solr" \
SOLR_GROUP="solr"
USER root
Expand Down

0 comments on commit 1296d07

Please sign in to comment.