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

Update Solr to 7.2.0 #3834

Merged
merged 1 commit into from
Dec 21, 2017
Merged

Update Solr to 7.2.0 #3834

merged 1 commit into from
Dec 21, 2017

Conversation

makuk66
Copy link
Contributor

@makuk66 makuk66 commented Dec 21, 2017

@tianon
Copy link
Member

tianon commented Dec 21, 2017

Diff:
diff --git a/_bashbrew-arches b/_bashbrew-arches
index 8c72662..72cecac 100644
--- a/_bashbrew-arches
+++ b/_bashbrew-arches
@@ -118,6 +118,26 @@ solr:7.0-slim @ arm64v8
 solr:7.0-slim @ i386
 solr:7.0-slim @ ppc64le
 solr:7.0-slim @ s390x
+solr:7.1 @ amd64
+solr:7.1 @ arm32v5
+solr:7.1 @ arm32v7
+solr:7.1 @ arm64v8
+solr:7.1 @ i386
+solr:7.1 @ ppc64le
+solr:7.1 @ s390x
+solr:7.1-alpine @ amd64
+solr:7.1-alpine @ arm32v6
+solr:7.1-alpine @ arm64v8
+solr:7.1-alpine @ i386
+solr:7.1-alpine @ ppc64le
+solr:7.1-alpine @ s390x
+solr:7.1-slim @ amd64
+solr:7.1-slim @ arm32v5
+solr:7.1-slim @ arm32v7
+solr:7.1-slim @ arm64v8
+solr:7.1-slim @ i386
+solr:7.1-slim @ ppc64le
+solr:7.1-slim @ s390x
 solr:alpine @ amd64
 solr:alpine @ arm32v6
 solr:alpine @ arm64v8
diff --git a/_bashbrew-list b/_bashbrew-list
index 056f62e..f3e8e68 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -49,6 +49,12 @@ solr:7.1-slim
 solr:7.1.0
 solr:7.1.0-alpine
 solr:7.1.0-slim
+solr:7.2
+solr:7.2-alpine
+solr:7.2-slim
+solr:7.2.0
+solr:7.2.0-alpine
+solr:7.2.0-slim
 solr:alpine
 solr:latest
 solr:slim
diff --git a/solr_5-alpine/scripts/run-initdb b/solr_5-alpine/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_5-alpine/scripts/run-initdb
+++ b/solr_5-alpine/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_5-slim/scripts/run-initdb b/solr_5-slim/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_5-slim/scripts/run-initdb
+++ b/solr_5-slim/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_5/scripts/run-initdb b/solr_5/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_5/scripts/run-initdb
+++ b/solr_5/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_6-alpine/scripts/run-initdb b/solr_6-alpine/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_6-alpine/scripts/run-initdb
+++ b/solr_6-alpine/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_6-slim/scripts/run-initdb b/solr_6-slim/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_6-slim/scripts/run-initdb
+++ b/solr_6-slim/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_6.3-alpine/scripts/run-initdb b/solr_6.3-alpine/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_6.3-alpine/scripts/run-initdb
+++ b/solr_6.3-alpine/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_6.3-slim/scripts/run-initdb b/solr_6.3-slim/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_6.3-slim/scripts/run-initdb
+++ b/solr_6.3-slim/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_6.3/scripts/run-initdb b/solr_6.3/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_6.3/scripts/run-initdb
+++ b/solr_6.3/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_6.4-alpine/scripts/run-initdb b/solr_6.4-alpine/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_6.4-alpine/scripts/run-initdb
+++ b/solr_6.4-alpine/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_6.4-slim/scripts/run-initdb b/solr_6.4-slim/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_6.4-slim/scripts/run-initdb
+++ b/solr_6.4-slim/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_6.4/scripts/run-initdb b/solr_6.4/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_6.4/scripts/run-initdb
+++ b/solr_6.4/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_6.5-alpine/scripts/run-initdb b/solr_6.5-alpine/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_6.5-alpine/scripts/run-initdb
+++ b/solr_6.5-alpine/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_6.5-slim/scripts/run-initdb b/solr_6.5-slim/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_6.5-slim/scripts/run-initdb
+++ b/solr_6.5-slim/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_6.5/scripts/run-initdb b/solr_6.5/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_6.5/scripts/run-initdb
+++ b/solr_6.5/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_6/scripts/run-initdb b/solr_6/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_6/scripts/run-initdb
+++ b/solr_6/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_7.0-alpine/scripts/run-initdb b/solr_7.0-alpine/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_7.0-alpine/scripts/run-initdb
+++ b/solr_7.0-alpine/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_7.0-slim/scripts/run-initdb b/solr_7.0-slim/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_7.0-slim/scripts/run-initdb
+++ b/solr_7.0-slim/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_7.0/scripts/run-initdb b/solr_7.0/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_7.0/scripts/run-initdb
+++ b/solr_7.0/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_alpine/Dockerfile b/solr_7.1-alpine/Dockerfile
similarity index 100%
copy from solr_alpine/Dockerfile
copy to solr_7.1-alpine/Dockerfile
diff --git a/solr_5-alpine/scripts/docker-entrypoint.sh b/solr_7.1-alpine/scripts/docker-entrypoint.sh
similarity index 100%
copy from solr_5-alpine/scripts/docker-entrypoint.sh
copy to solr_7.1-alpine/scripts/docker-entrypoint.sh
diff --git a/solr_5-alpine/scripts/init-solr-home b/solr_7.1-alpine/scripts/init-solr-home
similarity index 100%
copy from solr_5-alpine/scripts/init-solr-home
copy to solr_7.1-alpine/scripts/init-solr-home
diff --git a/solr_5-alpine/scripts/precreate-core b/solr_7.1-alpine/scripts/precreate-core
similarity index 100%
copy from solr_5-alpine/scripts/precreate-core
copy to solr_7.1-alpine/scripts/precreate-core
diff --git a/solr_5-alpine/scripts/run-initdb b/solr_7.1-alpine/scripts/run-initdb
similarity index 80%
copy from solr_5-alpine/scripts/run-initdb
copy to solr_7.1-alpine/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_5-alpine/scripts/run-initdb
+++ b/solr_7.1-alpine/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_5-alpine/scripts/solr-create b/solr_7.1-alpine/scripts/solr-create
similarity index 100%
copy from solr_5-alpine/scripts/solr-create
copy to solr_7.1-alpine/scripts/solr-create
diff --git a/solr_5-alpine/scripts/solr-demo b/solr_7.1-alpine/scripts/solr-demo
similarity index 100%
copy from solr_5-alpine/scripts/solr-demo
copy to solr_7.1-alpine/scripts/solr-demo
diff --git a/solr_5-alpine/scripts/solr-foreground b/solr_7.1-alpine/scripts/solr-foreground
similarity index 100%
copy from solr_5-alpine/scripts/solr-foreground
copy to solr_7.1-alpine/scripts/solr-foreground
diff --git a/solr_5-alpine/scripts/solr-precreate b/solr_7.1-alpine/scripts/solr-precreate
similarity index 100%
copy from solr_5-alpine/scripts/solr-precreate
copy to solr_7.1-alpine/scripts/solr-precreate
diff --git a/solr_5-alpine/scripts/start-local-solr b/solr_7.1-alpine/scripts/start-local-solr
similarity index 100%
copy from solr_5-alpine/scripts/start-local-solr
copy to solr_7.1-alpine/scripts/start-local-solr
diff --git a/solr_5-alpine/scripts/stop-local-solr b/solr_7.1-alpine/scripts/stop-local-solr
similarity index 100%
copy from solr_5-alpine/scripts/stop-local-solr
copy to solr_7.1-alpine/scripts/stop-local-solr
diff --git a/solr_5-alpine/scripts/wait-for-solr.sh b/solr_7.1-alpine/scripts/wait-for-solr.sh
similarity index 100%
copy from solr_5-alpine/scripts/wait-for-solr.sh
copy to solr_7.1-alpine/scripts/wait-for-solr.sh
diff --git a/solr_slim/Dockerfile b/solr_7.1-slim/Dockerfile
similarity index 100%
copy from solr_slim/Dockerfile
copy to solr_7.1-slim/Dockerfile
diff --git a/solr_5-alpine/scripts/docker-entrypoint.sh b/solr_7.1-slim/scripts/docker-entrypoint.sh
similarity index 100%
copy from solr_5-alpine/scripts/docker-entrypoint.sh
copy to solr_7.1-slim/scripts/docker-entrypoint.sh
diff --git a/solr_5-alpine/scripts/init-solr-home b/solr_7.1-slim/scripts/init-solr-home
similarity index 100%
copy from solr_5-alpine/scripts/init-solr-home
copy to solr_7.1-slim/scripts/init-solr-home
diff --git a/solr_5-alpine/scripts/precreate-core b/solr_7.1-slim/scripts/precreate-core
similarity index 100%
copy from solr_5-alpine/scripts/precreate-core
copy to solr_7.1-slim/scripts/precreate-core
diff --git a/solr_5-alpine/scripts/run-initdb b/solr_7.1-slim/scripts/run-initdb
similarity index 80%
copy from solr_5-alpine/scripts/run-initdb
copy to solr_7.1-slim/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_5-alpine/scripts/run-initdb
+++ b/solr_7.1-slim/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_5-alpine/scripts/solr-create b/solr_7.1-slim/scripts/solr-create
similarity index 100%
copy from solr_5-alpine/scripts/solr-create
copy to solr_7.1-slim/scripts/solr-create
diff --git a/solr_5-alpine/scripts/solr-demo b/solr_7.1-slim/scripts/solr-demo
similarity index 100%
copy from solr_5-alpine/scripts/solr-demo
copy to solr_7.1-slim/scripts/solr-demo
diff --git a/solr_5-alpine/scripts/solr-foreground b/solr_7.1-slim/scripts/solr-foreground
similarity index 100%
copy from solr_5-alpine/scripts/solr-foreground
copy to solr_7.1-slim/scripts/solr-foreground
diff --git a/solr_5-alpine/scripts/solr-precreate b/solr_7.1-slim/scripts/solr-precreate
similarity index 100%
copy from solr_5-alpine/scripts/solr-precreate
copy to solr_7.1-slim/scripts/solr-precreate
diff --git a/solr_5-alpine/scripts/start-local-solr b/solr_7.1-slim/scripts/start-local-solr
similarity index 100%
copy from solr_5-alpine/scripts/start-local-solr
copy to solr_7.1-slim/scripts/start-local-solr
diff --git a/solr_5-alpine/scripts/stop-local-solr b/solr_7.1-slim/scripts/stop-local-solr
similarity index 100%
copy from solr_5-alpine/scripts/stop-local-solr
copy to solr_7.1-slim/scripts/stop-local-solr
diff --git a/solr_5-alpine/scripts/wait-for-solr.sh b/solr_7.1-slim/scripts/wait-for-solr.sh
similarity index 100%
copy from solr_5-alpine/scripts/wait-for-solr.sh
copy to solr_7.1-slim/scripts/wait-for-solr.sh
diff --git a/solr_latest/Dockerfile b/solr_7.1/Dockerfile
similarity index 100%
copy from solr_latest/Dockerfile
copy to solr_7.1/Dockerfile
diff --git a/solr_5-alpine/scripts/docker-entrypoint.sh b/solr_7.1/scripts/docker-entrypoint.sh
similarity index 100%
copy from solr_5-alpine/scripts/docker-entrypoint.sh
copy to solr_7.1/scripts/docker-entrypoint.sh
diff --git a/solr_5-alpine/scripts/init-solr-home b/solr_7.1/scripts/init-solr-home
similarity index 100%
copy from solr_5-alpine/scripts/init-solr-home
copy to solr_7.1/scripts/init-solr-home
diff --git a/solr_5-alpine/scripts/precreate-core b/solr_7.1/scripts/precreate-core
similarity index 100%
copy from solr_5-alpine/scripts/precreate-core
copy to solr_7.1/scripts/precreate-core
diff --git a/solr_5-alpine/scripts/run-initdb b/solr_7.1/scripts/run-initdb
similarity index 80%
copy from solr_5-alpine/scripts/run-initdb
copy to solr_7.1/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_5-alpine/scripts/run-initdb
+++ b/solr_7.1/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_5-alpine/scripts/solr-create b/solr_7.1/scripts/solr-create
similarity index 100%
copy from solr_5-alpine/scripts/solr-create
copy to solr_7.1/scripts/solr-create
diff --git a/solr_5-alpine/scripts/solr-demo b/solr_7.1/scripts/solr-demo
similarity index 100%
copy from solr_5-alpine/scripts/solr-demo
copy to solr_7.1/scripts/solr-demo
diff --git a/solr_5-alpine/scripts/solr-foreground b/solr_7.1/scripts/solr-foreground
similarity index 100%
copy from solr_5-alpine/scripts/solr-foreground
copy to solr_7.1/scripts/solr-foreground
diff --git a/solr_5-alpine/scripts/solr-precreate b/solr_7.1/scripts/solr-precreate
similarity index 100%
copy from solr_5-alpine/scripts/solr-precreate
copy to solr_7.1/scripts/solr-precreate
diff --git a/solr_5-alpine/scripts/start-local-solr b/solr_7.1/scripts/start-local-solr
similarity index 100%
copy from solr_5-alpine/scripts/start-local-solr
copy to solr_7.1/scripts/start-local-solr
diff --git a/solr_5-alpine/scripts/stop-local-solr b/solr_7.1/scripts/stop-local-solr
similarity index 100%
copy from solr_5-alpine/scripts/stop-local-solr
copy to solr_7.1/scripts/stop-local-solr
diff --git a/solr_5-alpine/scripts/wait-for-solr.sh b/solr_7.1/scripts/wait-for-solr.sh
similarity index 100%
copy from solr_5-alpine/scripts/wait-for-solr.sh
copy to solr_7.1/scripts/wait-for-solr.sh
diff --git a/solr_alpine/Dockerfile b/solr_alpine/Dockerfile
index eff569c..bc39855 100644
--- a/solr_alpine/Dockerfile
+++ b/solr_alpine/Dockerfile
@@ -19,10 +19,10 @@ ENV SOLR_USER="solr" \
     SOLR_UID="8983" \
     SOLR_GROUP="solr" \
     SOLR_GID="8983" \
-    SOLR_VERSION="7.1.0" \
-    SOLR_URL="${SOLR_DOWNLOAD_SERVER:-https://archive.apache.org/dist/lucene/solr}/7.1.0/solr-7.1.0.tgz" \
-    SOLR_SHA256="5cd25cc2634e47efbb529658d6ddd406a7cd1b211affa26563a28db2d80b8133" \
-    SOLR_KEYS="38D2EA16DDF5FC722EBC433FDC92616F177050F6" \
+    SOLR_VERSION="7.2.0" \
+    SOLR_URL="${SOLR_DOWNLOAD_SERVER:-https://archive.apache.org/dist/lucene/solr}/7.2.0/solr-7.2.0.tgz" \
+    SOLR_SHA256="1b2cedf176a62c259bfa72db5bf0ba18cc3af255bc8e25187d3b58213535011f" \
+    SOLR_KEYS="E6E21FFCDCEA14C95910EA65051A0FAF76BC6507" \
     PATH="/opt/solr/bin:/opt/docker-solr/scripts:$PATH"
 
 RUN addgroup -S -g $SOLR_GID $SOLR_GROUP && \
diff --git a/solr_alpine/scripts/run-initdb b/solr_alpine/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_alpine/scripts/run-initdb
+++ b/solr_alpine/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_latest/Dockerfile b/solr_latest/Dockerfile
index 384b363..14cdd5e 100644
--- a/solr_latest/Dockerfile
+++ b/solr_latest/Dockerfile
@@ -14,10 +14,10 @@ ENV SOLR_USER="solr" \
     SOLR_UID="8983" \
     SOLR_GROUP="solr" \
     SOLR_GID="8983" \
-    SOLR_VERSION="7.1.0" \
-    SOLR_URL="${SOLR_DOWNLOAD_SERVER:-https://archive.apache.org/dist/lucene/solr}/7.1.0/solr-7.1.0.tgz" \
-    SOLR_SHA256="5cd25cc2634e47efbb529658d6ddd406a7cd1b211affa26563a28db2d80b8133" \
-    SOLR_KEYS="38D2EA16DDF5FC722EBC433FDC92616F177050F6" \
+    SOLR_VERSION="7.2.0" \
+    SOLR_URL="${SOLR_DOWNLOAD_SERVER:-https://archive.apache.org/dist/lucene/solr}/7.2.0/solr-7.2.0.tgz" \
+    SOLR_SHA256="1b2cedf176a62c259bfa72db5bf0ba18cc3af255bc8e25187d3b58213535011f" \
+    SOLR_KEYS="E6E21FFCDCEA14C95910EA65051A0FAF76BC6507" \
     PATH="/opt/solr/bin:/opt/docker-solr/scripts:$PATH"
 
 RUN groupadd -r --gid $SOLR_GID $SOLR_GROUP && \
diff --git a/solr_latest/scripts/run-initdb b/solr_latest/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_latest/scripts/run-initdb
+++ b/solr_latest/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)
diff --git a/solr_slim/Dockerfile b/solr_slim/Dockerfile
index 88f221f..665120a 100644
--- a/solr_slim/Dockerfile
+++ b/solr_slim/Dockerfile
@@ -14,10 +14,10 @@ ENV SOLR_USER="solr" \
     SOLR_UID="8983" \
     SOLR_GROUP="solr" \
     SOLR_GID="8983" \
-    SOLR_VERSION="7.1.0" \
-    SOLR_URL="${SOLR_DOWNLOAD_SERVER:-https://archive.apache.org/dist/lucene/solr}/7.1.0/solr-7.1.0.tgz" \
-    SOLR_SHA256="5cd25cc2634e47efbb529658d6ddd406a7cd1b211affa26563a28db2d80b8133" \
-    SOLR_KEYS="38D2EA16DDF5FC722EBC433FDC92616F177050F6" \
+    SOLR_VERSION="7.2.0" \
+    SOLR_URL="${SOLR_DOWNLOAD_SERVER:-https://archive.apache.org/dist/lucene/solr}/7.2.0/solr-7.2.0.tgz" \
+    SOLR_SHA256="1b2cedf176a62c259bfa72db5bf0ba18cc3af255bc8e25187d3b58213535011f" \
+    SOLR_KEYS="E6E21FFCDCEA14C95910EA65051A0FAF76BC6507" \
     PATH="/opt/solr/bin:/opt/docker-solr/scripts:$PATH"
 
 RUN groupadd -r --gid $SOLR_GID $SOLR_GROUP && \
diff --git a/solr_slim/scripts/run-initdb b/solr_slim/scripts/run-initdb
index 6c54f08..0d35d1b 100755
--- a/solr_slim/scripts/run-initdb
+++ b/solr_slim/scripts/run-initdb
@@ -22,14 +22,10 @@ set -e
 /opt/docker-solr/scripts/init-solr-home
 
 # execute files in /docker-entrypoint-initdb.d before starting solr
-SCRIPTS_TO_RUN=/tmp/init-scripts-to-run
-find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n > "$SCRIPTS_TO_RUN"
-readarray -t scripts_to_run < "$SCRIPTS_TO_RUN"
-rm "$SCRIPTS_TO_RUN"
-for f in "${scripts_to_run[@]}"; do
+while read f; do
     case "$f" in
         *.sh)     echo "$0: running $f"; . "$f" ;;
         *)        echo "$0: ignoring $f" ;;
     esac
     echo
-done
+done < <(find /docker-entrypoint-initdb.d/ -mindepth 1 -type f | sort -n)

@tianon
Copy link
Member

tianon commented Dec 21, 2017

Are all these older versions still actively supported (ie, if there are issues discovered, will Solr release updates to them)?

Removing them from here will remove them from the "Supported" section on the Hub readme (and will prevent us from spending cycles rebuilding them on the official build server), but the relevant tags will still be available to users who want it. (See https://github.com/docker-library/official-images#library-definition-files for more detail on this.)

@tianon
Copy link
Member

tianon commented Dec 21, 2017

LGTM

Build test of #3834; dcda3b9; amd64 (solr):

$ bashbrew build solr:7.2.0
Building bashbrew/cache:94f7f9a470f306f2b9f9648fad70064f377ca293c72d203ef3439c0ce4f61d70 (solr:7.2.0)
Tagging solr:7.2.0
Tagging solr:7.2
Tagging solr:7
Tagging solr:latest

$ test/run.sh solr:7.2.0
testing solr:7.2.0
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:7.2.0-alpine
Building bashbrew/cache:b6c8a9b761c8f71a4e56aaba069000f81eb5384b5f7025c49a2125c689bc24da (solr:7.2.0-alpine)
Tagging solr:7.2.0-alpine
Tagging solr:7.2-alpine
Tagging solr:7-alpine
Tagging solr:alpine

$ test/run.sh solr:7.2.0-alpine
testing solr:7.2.0-alpine
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:7.2.0-slim
Building bashbrew/cache:5b67c85dc920439f11cec651176029e5eb272fe53951ec65fcb7a05ed6beccfa (solr:7.2.0-slim)
Tagging solr:7.2.0-slim
Tagging solr:7.2-slim
Tagging solr:7-slim
Tagging solr:slim

$ test/run.sh solr:7.2.0-slim
testing solr:7.2.0-slim
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:7.1.0
Building bashbrew/cache:2d19325a73bec243a90d0ec68b99b14409b609f97729679186aad25d92cf0eb8 (solr:7.1.0)
Tagging solr:7.1.0
Tagging solr:7.1

$ test/run.sh solr:7.1.0
testing solr:7.1.0
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:7.1.0-alpine
Building bashbrew/cache:cfb070bda2f91e21291f9f9fba8f5ea94913488339e8e75ddb6282e4701b498b (solr:7.1.0-alpine)
Tagging solr:7.1.0-alpine
Tagging solr:7.1-alpine

$ test/run.sh solr:7.1.0-alpine
testing solr:7.1.0-alpine
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:7.1.0-slim
Building bashbrew/cache:5710dfdbdeb6d832037fbef83e207b32f30b03dffcdb13880fc075fb5696ec9c (solr:7.1.0-slim)
Tagging solr:7.1.0-slim
Tagging solr:7.1-slim

$ test/run.sh solr:7.1.0-slim
testing solr:7.1.0-slim
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:7.0.1
Building bashbrew/cache:2d871351456591ea0efa9cba94325202ec456b69919938ca720808e7379988cf (solr:7.0.1)
Tagging solr:7.0.1
Tagging solr:7.0

$ test/run.sh solr:7.0.1
testing solr:7.0.1
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:7.0.1-alpine
Building bashbrew/cache:b8353d3f360d9d21a46a6d27496066ea1780f0cb793f80fc3401cb51c4632256 (solr:7.0.1-alpine)
Tagging solr:7.0.1-alpine
Tagging solr:7.0-alpine

$ test/run.sh solr:7.0.1-alpine
testing solr:7.0.1-alpine
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:7.0.1-slim
Building bashbrew/cache:16fadad139dc3f79715627037fb26750543a091d837b76fb95fa8ffcacabcb60 (solr:7.0.1-slim)
Tagging solr:7.0.1-slim
Tagging solr:7.0-slim

$ test/run.sh solr:7.0.1-slim
testing solr:7.0.1-slim
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:6.6.2
Building bashbrew/cache:ad493367d7aaf4dd6a5fb4979afd8c26a1c56801f3d1a737cf9eda58db40cace (solr:6.6.2)
Tagging solr:6.6.2
Tagging solr:6.6
Tagging solr:6

$ test/run.sh solr:6.6.2
testing solr:6.6.2
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:6.6.2-alpine
Building bashbrew/cache:f14797a9cf241de657061c60eafa1678a78b42d4e9820c616cbd911a623faf0c (solr:6.6.2-alpine)
Tagging solr:6.6.2-alpine
Tagging solr:6.6-alpine
Tagging solr:6-alpine

$ test/run.sh solr:6.6.2-alpine
testing solr:6.6.2-alpine
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:6.6.2-slim
Building bashbrew/cache:1a2f0c8f4ad7476bae234c640c52d44b7d9592bfafcde6419f7bcceff7b6c32a (solr:6.6.2-slim)
Tagging solr:6.6.2-slim
Tagging solr:6.6-slim
Tagging solr:6-slim

$ test/run.sh solr:6.6.2-slim
testing solr:6.6.2-slim
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:6.5.1
Building bashbrew/cache:d2196ef47bfa639d04ef70e6647649e884acfc8585c8d7183d82a56cdeacee5d (solr:6.5.1)
Tagging solr:6.5.1
Tagging solr:6.5

$ test/run.sh solr:6.5.1
testing solr:6.5.1
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:6.5.1-alpine
Building bashbrew/cache:14205a1f369436c568f7da256ef9635a82768cba8a71a7678ef1ecd5ac885c18 (solr:6.5.1-alpine)
Tagging solr:6.5.1-alpine
Tagging solr:6.5-alpine

$ test/run.sh solr:6.5.1-alpine
testing solr:6.5.1-alpine
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:6.5.1-slim
Building bashbrew/cache:b22e1261fee71d856c68feadbd0bbe93e5a1ffb52af299c0fd1f841b14b9cb81 (solr:6.5.1-slim)
Tagging solr:6.5.1-slim
Tagging solr:6.5-slim

$ test/run.sh solr:6.5.1-slim
testing solr:6.5.1-slim
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:6.4.2
Building bashbrew/cache:20bafbadba462e084e9469eb70a572611f1eb02d2a67f302c0ba4644b0553074 (solr:6.4.2)
Tagging solr:6.4.2
Tagging solr:6.4

$ test/run.sh solr:6.4.2
testing solr:6.4.2
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:6.4.2-alpine
Building bashbrew/cache:f19cea3b8fbc41bbb2e04c76061336d23ca6a6619c26c443f0f020290d189759 (solr:6.4.2-alpine)
Tagging solr:6.4.2-alpine
Tagging solr:6.4-alpine

$ test/run.sh solr:6.4.2-alpine
testing solr:6.4.2-alpine
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:6.4.2-slim
Building bashbrew/cache:be62db9a659bba0f104cea4d8b9120dd2d7646b7640ae315a776361f0f83eff2 (solr:6.4.2-slim)
Tagging solr:6.4.2-slim
Tagging solr:6.4-slim

$ test/run.sh solr:6.4.2-slim
testing solr:6.4.2-slim
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:6.3.0
Building bashbrew/cache:b9cfe3f0f2af39bf4c8a434956c382f86a1948d1043a270fa102506debcd88e9 (solr:6.3.0)
Tagging solr:6.3.0
Tagging solr:6.3

$ test/run.sh solr:6.3.0
testing solr:6.3.0
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:6.3.0-alpine
Building bashbrew/cache:05fc7523b02da30c4919c5d57fc7a64892ff430834e958a838b065ce31c4a24e (solr:6.3.0-alpine)
Tagging solr:6.3.0-alpine
Tagging solr:6.3-alpine

$ test/run.sh solr:6.3.0-alpine
testing solr:6.3.0-alpine
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:6.3.0-slim
Building bashbrew/cache:70cbb2c0352a8d1cb85a076ff1e001546cc6b09fda80d83f6266670715cd7e57 (solr:6.3.0-slim)
Tagging solr:6.3.0-slim
Tagging solr:6.3-slim

$ test/run.sh solr:6.3.0-slim
testing solr:6.3.0-slim
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:5.5.5
Building bashbrew/cache:1845a8dcb4f610f2742f2f6b5930cdc14795855c334efe4b1c5afd0a8567c7db (solr:5.5.5)
Tagging solr:5.5.5
Tagging solr:5.5
Tagging solr:5

$ test/run.sh solr:5.5.5
testing solr:5.5.5
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:5.5.5-alpine
Building bashbrew/cache:e908849402b433986befda6bcfe40450de7c8d2b87a2e04738f43d69b1fc8c5d (solr:5.5.5-alpine)
Tagging solr:5.5.5-alpine
Tagging solr:5.5-alpine
Tagging solr:5-alpine

$ test/run.sh solr:5.5.5-alpine
testing solr:5.5.5-alpine
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed


$ bashbrew build solr:5.5.5-slim
Building bashbrew/cache:906bee2b9c5e085a13a71b30fa9e1d671d2734d4b67573cf6c054c4ef3ae8fad (solr:5.5.5-slim)
Tagging solr:5.5.5-slim
Tagging solr:5.5-slim
Tagging solr:5-slim

$ test/run.sh solr:5.5.5-slim
testing solr:5.5.5-slim
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed

@tianon tianon merged commit 6b5d363 into docker-library:master Dec 21, 2017
@makuk66
Copy link
Contributor Author

makuk66 commented Dec 21, 2017

Are all these older versions still actively supported (ie, if there are issues discovered, will Solr release updates to them)?

There's no specific policy; it's up to release managers what patch updates they want to provide.
Let's see. 6.6.6 and 5.5.5 were released about 2 months ago for some critical security fixes, along with 7.1.0. So I suppose older minor versions could be considered not-recommended, though I've not checked against the specific CVEs to see if they are affected. They are not that old: 6.3.0 (Nov 2016), 6.4.2 (March 2017), 6.5.1 (April 2017), 7.0.1(Oct 2017). But I expect we can remove them without too much upset.

@tianon
Copy link
Member

tianon commented Dec 21, 2017

Fair enough! If they're actively supported, no reason to rush things unless it makes your life easier and you think the user impact will be small. 👍

(Just like to point it out from time to time to keep maintainers thinking about what "supported" means. 😄)

makuk66 added a commit to docker-solr/docker-solr that referenced this pull request Dec 21, 2017
These have been superceded by minor versions, and did not partake in the Q4 2017 round of security updates.
See docker-library/official-images#3834 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants