Skip to content

Commit b7c31ac

Browse files
authored
Merge pull request #11723 from IQSS/11722-configbaker-bc-missing
Install `bc` in configbaker image so conf/solr/update-fields.sh will run
2 parents 974fde1 + 0b9c412 commit b7c31ac

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

conf/solr/update-fields.sh

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,10 @@ while getopts ":hp" opt; do
6868
done
6969

7070
# Check for ed and bc being present
71-
exists ed || error "Please ensure ed, bc, sed + awk are installed"
72-
exists bc || error "Please ensure ed, bc, sed + awk are installed"
73-
exists awk || error "Please ensure ed, bc, sed + awk are installed"
74-
exists sed || error "Please ensure ed, bc, sed + awk are installed"
71+
exists ed || error "Please ensure ed, bc, sed + awk are installed (ed is missing)"
72+
exists bc || error "Please ensure ed, bc, sed + awk are installed (bc is missing)"
73+
exists awk || error "Please ensure ed, bc, sed + awk are installed (awk is missing)"
74+
exists sed || error "Please ensure ed, bc, sed + awk are installed (sed is missing)"
7575

7676
# remove all the parsed options
7777
shift $((OPTIND-1))
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
When following the container demo tutorial, it was not possible to update Solr fields after adding additional metadata blocks. This has been fixed. See #11722 and #11723

modules/container-configbaker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ENV SCRIPT_DIR="/scripts" \
2020
ENV PATH="${PATH}:${SCRIPT_DIR}" \
2121
BOOTSTRAP_DIR="${SCRIPT_DIR}/bootstrap"
2222

23-
ARG PKGS="curl dnsutils dumb-init ed jq netcat-openbsd postgresql-client"
23+
ARG PKGS="bc curl dnsutils dumb-init ed jq netcat-openbsd postgresql-client"
2424
# renovate: datasource=github-releases depName=wait4x/wait4x
2525
ARG WAIT4X_VERSION="v3.2.0"
2626
# renovate: datasource=pypi depName=awscli

0 commit comments

Comments
 (0)