Skip to content

Conversation

@tianon
Copy link
Member

@tianon tianon commented Oct 24, 2017

- `ghost`: 1.15.1
- `kibana`: 5.6.3 (oops)
- `logstash`: 5.6.3 (oops)
- `mariadb`: resync config fixes (MariaDB/mariadb-docker#133)
- `mysql`: fix config issues (docker-library/mysql#336)
- `percona`: resync config fixes, `MYSQL_ROOT_HOST` (docker-library/percona#51)
- `ruby`: 2.5.0-preview1 (docker-library/ruby#165)
@tianon
Copy link
Member Author

tianon commented Oct 24, 2017

Diff:
diff --git a/_bashbrew-arches b/_bashbrew-arches
index 28d3744..78a2908 100644
--- a/_bashbrew-arches
+++ b/_bashbrew-arches
@@ -88,6 +88,21 @@ ruby:onbuild @ arm64v8
 ruby:onbuild @ i386
 ruby:onbuild @ ppc64le
 ruby:onbuild @ s390x
+ruby:rc @ amd64
+ruby:rc @ arm32v5
+ruby:rc @ arm32v7
+ruby:rc @ arm64v8
+ruby:rc @ i386
+ruby:rc @ ppc64le
+ruby:rc @ s390x
+ruby:rc-alpine @ amd64
+ruby:rc-slim @ amd64
+ruby:rc-slim @ arm32v5
+ruby:rc-slim @ arm32v7
+ruby:rc-slim @ arm64v8
+ruby:rc-slim @ i386
+ruby:rc-slim @ ppc64le
+ruby:rc-slim @ s390x
 ruby:slim @ amd64
 ruby:slim @ arm32v5
 ruby:slim @ arm32v7
diff --git a/_bashbrew-list b/_bashbrew-list
index 733bb67..3b7451f 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -8,8 +8,8 @@ ghost:1
 ghost:1-alpine
 ghost:1.15
 ghost:1.15-alpine
-ghost:1.15.0
-ghost:1.15.0-alpine
+ghost:1.15.1
+ghost:1.15.1-alpine
 ghost:alpine
 ghost:latest
 kibana:4
@@ -17,7 +17,7 @@ kibana:4.6
 kibana:4.6.6
 kibana:5
 kibana:5.6
-kibana:5.6.0
+kibana:5.6.3
 kibana:latest
 logstash:2
 logstash:2-alpine
@@ -29,8 +29,8 @@ logstash:5
 logstash:5-alpine
 logstash:5.6
 logstash:5.6-alpine
-logstash:5.6.1
-logstash:5.6.1-alpine
+logstash:5.6.3
+logstash:5.6.3-alpine
 logstash:alpine
 logstash:latest
 mariadb:5
@@ -123,12 +123,30 @@ ruby:2.4.2-slim
 ruby:2.4.2-slim-jessie
 ruby:2.4.2-slim-stretch
 ruby:2.4.2-stretch
+ruby:2.5-rc
+ruby:2.5-rc-alpine
+ruby:2.5-rc-alpine3.6
+ruby:2.5-rc-slim
+ruby:2.5-rc-slim-stretch
+ruby:2.5-rc-stretch
+ruby:2.5.0-preview1
+ruby:2.5.0-preview1-alpine
+ruby:2.5.0-preview1-alpine3.6
+ruby:2.5.0-preview1-slim
+ruby:2.5.0-preview1-slim-stretch
+ruby:2.5.0-preview1-stretch
 ruby:alpine
 ruby:alpine3.4
 ruby:alpine3.6
 ruby:jessie
 ruby:latest
 ruby:onbuild
+ruby:rc
+ruby:rc-alpine
+ruby:rc-alpine3.6
+ruby:rc-slim
+ruby:rc-slim-stretch
+ruby:rc-stretch
 ruby:slim
 ruby:slim-jessie
 ruby:slim-stretch
diff --git a/ghost_alpine/Dockerfile b/ghost_alpine/Dockerfile
index 683a25d..d887ea2 100644
--- a/ghost_alpine/Dockerfile
+++ b/ghost_alpine/Dockerfile
@@ -12,7 +12,7 @@ RUN apk add --no-cache \
 ENV NPM_CONFIG_LOGLEVEL warn
 ENV NODE_ENV production
 ENV GHOST_CLI_VERSION 1.1.3
-ENV GHOST_VERSION 1.15.0
+ENV GHOST_VERSION 1.15.1
 
 RUN npm install -g "ghost-cli@$GHOST_CLI_VERSION" knex-migrator@latest
 
diff --git a/ghost_latest/Dockerfile b/ghost_latest/Dockerfile
index 8545cb4..c4432b0 100644
--- a/ghost_latest/Dockerfile
+++ b/ghost_latest/Dockerfile
@@ -17,7 +17,7 @@ RUN set -x \
 ENV NPM_CONFIG_LOGLEVEL warn
 ENV NODE_ENV production
 ENV GHOST_CLI_VERSION 1.1.3
-ENV GHOST_VERSION 1.15.0
+ENV GHOST_VERSION 1.15.1
 
 RUN npm install -g "ghost-cli@$GHOST_CLI_VERSION" knex-migrator@latest
 
diff --git a/kibana_latest/Dockerfile b/kibana_latest/Dockerfile
index 6a97f08..a75cdb5 100644
--- a/kibana_latest/Dockerfile
+++ b/kibana_latest/Dockerfile
@@ -48,7 +48,7 @@ RUN set -ex; \
 # https://www.elastic.co/guide/en/kibana/5.0/deb.html
 RUN echo 'deb https://artifacts.elastic.co/packages/5.x/apt stable main' > /etc/apt/sources.list.d/kibana.list
 
-ENV KIBANA_VERSION 5.6.0
+ENV KIBANA_VERSION 5.6.3
 
 RUN set -x \
 	&& apt-get update \
diff --git a/logstash_alpine/Dockerfile b/logstash_alpine/Dockerfile
index 35cef5d..c565144 100644
--- a/logstash_alpine/Dockerfile
+++ b/logstash_alpine/Dockerfile
@@ -20,10 +20,10 @@ ENV GPG_KEY 46095ACC8548582C1A2699A9D27D666CD88E42B4
 ENV LOGSTASH_PATH /usr/share/logstash/bin
 ENV PATH $LOGSTASH_PATH:$PATH
 
-ENV LOGSTASH_VERSION 5.6.1
-ENV LOGSTASH_TARBALL="https://artifacts.elastic.co/downloads/logstash/logstash-5.6.1.tar.gz" \
-	LOGSTASH_TARBALL_ASC="https://artifacts.elastic.co/downloads/logstash/logstash-5.6.1.tar.gz.asc" \
-	LOGSTASH_TARBALL_SHA1="b6073de855a9f58e3bfe0856415132d49e3bd796"
+ENV LOGSTASH_VERSION 5.6.3
+ENV LOGSTASH_TARBALL="https://artifacts.elastic.co/downloads/logstash/logstash-5.6.3.tar.gz" \
+	LOGSTASH_TARBALL_ASC="https://artifacts.elastic.co/downloads/logstash/logstash-5.6.3.tar.gz.asc" \
+	LOGSTASH_TARBALL_SHA1="9a47baec72e76eef23d908fae8b94ff3497e569f"
 
 RUN set -ex; \
 	\
diff --git a/logstash_latest/Dockerfile b/logstash_latest/Dockerfile
index b163629..558db1c 100644
--- a/logstash_latest/Dockerfile
+++ b/logstash_latest/Dockerfile
@@ -34,8 +34,8 @@ RUN set -ex; \
 # https://www.elastic.co/guide/en/logstash/5.0/installing-logstash.html#_apt
 RUN echo 'deb https://artifacts.elastic.co/packages/5.x/apt stable main' > /etc/apt/sources.list.d/logstash.list
 
-ENV LOGSTASH_VERSION 5.6.1
-ENV LOGSTASH_DEB_VERSION 1:5.6.1-1
+ENV LOGSTASH_VERSION 5.6.3
+ENV LOGSTASH_DEB_VERSION 1:5.6.3-1
 
 RUN set -ex; \
 	case "$LOGSTASH_VERSION" in \
diff --git a/mariadb_10.0/Dockerfile b/mariadb_10.0/Dockerfile
index ffd2956..b304387 100644
--- a/mariadb_10.0/Dockerfile
+++ b/mariadb_10.0/Dockerfile
@@ -89,11 +89,12 @@ RUN { \
 	&& rm -rf /var/lib/mysql && mkdir -p /var/lib/mysql /var/run/mysqld \
 	&& chown -R mysql:mysql /var/lib/mysql /var/run/mysqld \
 # ensure that /var/run/mysqld (used for socket and lock files) is writable regardless of the UID our mysqld instance ends up having at runtime
-	&& chmod 777 /var/run/mysqld
-
+	&& chmod 777 /var/run/mysqld \
 # comment out a few problematic configuration values
+	&& find /etc/mysql/ -name '*.cnf' -print0 \
+		| xargs -0 grep -lZE '^(bind-address|log)' \
+		| xargs -rt -0 sed -Ei 's/^(bind-address|log)/#&/' \
 # don't reverse lookup hostnames, they are usually another container
-RUN sed -Ei 's/^(bind-address|log)/#&/' /etc/mysql/my.cnf \
 	&& echo '[mysqld]\nskip-host-cache\nskip-name-resolve' > /etc/mysql/conf.d/docker.cnf
 
 VOLUME /var/lib/mysql
diff --git a/mariadb_10.1/Dockerfile b/mariadb_10.1/Dockerfile
index d1b8f9b..f3672b0 100644
--- a/mariadb_10.1/Dockerfile
+++ b/mariadb_10.1/Dockerfile
@@ -89,11 +89,12 @@ RUN { \
 	&& rm -rf /var/lib/mysql && mkdir -p /var/lib/mysql /var/run/mysqld \
 	&& chown -R mysql:mysql /var/lib/mysql /var/run/mysqld \
 # ensure that /var/run/mysqld (used for socket and lock files) is writable regardless of the UID our mysqld instance ends up having at runtime
-	&& chmod 777 /var/run/mysqld
-
+	&& chmod 777 /var/run/mysqld \
 # comment out a few problematic configuration values
+	&& find /etc/mysql/ -name '*.cnf' -print0 \
+		| xargs -0 grep -lZE '^(bind-address|log)' \
+		| xargs -rt -0 sed -Ei 's/^(bind-address|log)/#&/' \
 # don't reverse lookup hostnames, they are usually another container
-RUN sed -Ei 's/^(bind-address|log)/#&/' /etc/mysql/my.cnf \
 	&& echo '[mysqld]\nskip-host-cache\nskip-name-resolve' > /etc/mysql/conf.d/docker.cnf
 
 VOLUME /var/lib/mysql
diff --git a/mariadb_10.3/Dockerfile b/mariadb_10.3/Dockerfile
index 06b8e27..4781483 100644
--- a/mariadb_10.3/Dockerfile
+++ b/mariadb_10.3/Dockerfile
@@ -89,11 +89,12 @@ RUN { \
 	&& rm -rf /var/lib/mysql && mkdir -p /var/lib/mysql /var/run/mysqld \
 	&& chown -R mysql:mysql /var/lib/mysql /var/run/mysqld \
 # ensure that /var/run/mysqld (used for socket and lock files) is writable regardless of the UID our mysqld instance ends up having at runtime
-	&& chmod 777 /var/run/mysqld
-
+	&& chmod 777 /var/run/mysqld \
 # comment out a few problematic configuration values
+	&& find /etc/mysql/ -name '*.cnf' -print0 \
+		| xargs -0 grep -lZE '^(bind-address|log)' \
+		| xargs -rt -0 sed -Ei 's/^(bind-address|log)/#&/' \
 # don't reverse lookup hostnames, they are usually another container
-RUN sed -Ei 's/^(bind-address|log)/#&/' /etc/mysql/my.cnf \
 	&& echo '[mysqld]\nskip-host-cache\nskip-name-resolve' > /etc/mysql/conf.d/docker.cnf
 
 VOLUME /var/lib/mysql
diff --git a/mariadb_5/Dockerfile b/mariadb_5/Dockerfile
index 9bc0b4f..0d5e4f2 100644
--- a/mariadb_5/Dockerfile
+++ b/mariadb_5/Dockerfile
@@ -89,11 +89,12 @@ RUN { \
 	&& rm -rf /var/lib/mysql && mkdir -p /var/lib/mysql /var/run/mysqld \
 	&& chown -R mysql:mysql /var/lib/mysql /var/run/mysqld \
 # ensure that /var/run/mysqld (used for socket and lock files) is writable regardless of the UID our mysqld instance ends up having at runtime
-	&& chmod 777 /var/run/mysqld
-
+	&& chmod 777 /var/run/mysqld \
 # comment out a few problematic configuration values
+	&& find /etc/mysql/ -name '*.cnf' -print0 \
+		| xargs -0 grep -lZE '^(bind-address|log)' \
+		| xargs -rt -0 sed -Ei 's/^(bind-address|log)/#&/' \
 # don't reverse lookup hostnames, they are usually another container
-RUN sed -Ei 's/^(bind-address|log)/#&/' /etc/mysql/my.cnf \
 	&& echo '[mysqld]\nskip-host-cache\nskip-name-resolve' > /etc/mysql/conf.d/docker.cnf
 
 VOLUME /var/lib/mysql
diff --git a/mariadb_latest/Dockerfile b/mariadb_latest/Dockerfile
index 7c5f6f4..e8f0238 100644
--- a/mariadb_latest/Dockerfile
+++ b/mariadb_latest/Dockerfile
@@ -89,11 +89,12 @@ RUN { \
 	&& rm -rf /var/lib/mysql && mkdir -p /var/lib/mysql /var/run/mysqld \
 	&& chown -R mysql:mysql /var/lib/mysql /var/run/mysqld \
 # ensure that /var/run/mysqld (used for socket and lock files) is writable regardless of the UID our mysqld instance ends up having at runtime
-	&& chmod 777 /var/run/mysqld
-
+	&& chmod 777 /var/run/mysqld \
 # comment out a few problematic configuration values
+	&& find /etc/mysql/ -name '*.cnf' -print0 \
+		| xargs -0 grep -lZE '^(bind-address|log)' \
+		| xargs -rt -0 sed -Ei 's/^(bind-address|log)/#&/' \
 # don't reverse lookup hostnames, they are usually another container
-RUN sed -Ei 's/^(bind-address|log)/#&/' /etc/mysql/my.cnf \
 	&& echo '[mysqld]\nskip-host-cache\nskip-name-resolve' > /etc/mysql/conf.d/docker.cnf
 
 VOLUME /var/lib/mysql
diff --git a/mysql_5.6/Dockerfile b/mysql_5.6/Dockerfile
index c4eb927..1456b6c 100644
--- a/mysql_5.6/Dockerfile
+++ b/mysql_5.6/Dockerfile
@@ -52,11 +52,12 @@ RUN { \
 	&& rm -rf /var/lib/mysql && mkdir -p /var/lib/mysql /var/run/mysqld \
 	&& chown -R mysql:mysql /var/lib/mysql /var/run/mysqld \
 # ensure that /var/run/mysqld (used for socket and lock files) is writable regardless of the UID our mysqld instance ends up having at runtime
-	&& chmod 777 /var/run/mysqld
-
+	&& chmod 777 /var/run/mysqld \
 # comment out a few problematic configuration values
+	&& find /etc/mysql/ -name '*.cnf' -print0 \
+		| xargs -0 grep -lZE '^(bind-address|log)' \
+		| xargs -rt -0 sed -Ei 's/^(bind-address|log)/#&/' \
 # don't reverse lookup hostnames, they are usually another container
-RUN sed -Ei 's/^(bind-address|log)/#&/' /etc/mysql/my.cnf \
 	&& echo '[mysqld]\nskip-host-cache\nskip-name-resolve' > /etc/mysql/conf.d/docker.cnf
 
 VOLUME /var/lib/mysql
diff --git a/mysql_latest/Dockerfile b/mysql_latest/Dockerfile
index 7da0d35..ebaf0aa 100644
--- a/mysql_latest/Dockerfile
+++ b/mysql_latest/Dockerfile
@@ -58,11 +58,12 @@ RUN { \
 	&& rm -rf /var/lib/mysql && mkdir -p /var/lib/mysql /var/run/mysqld \
 	&& chown -R mysql:mysql /var/lib/mysql /var/run/mysqld \
 # ensure that /var/run/mysqld (used for socket and lock files) is writable regardless of the UID our mysqld instance ends up having at runtime
-	&& chmod 777 /var/run/mysqld
-
+	&& chmod 777 /var/run/mysqld \
 # comment out a few problematic configuration values
+	&& find /etc/mysql/ -name '*.cnf' -print0 \
+		| xargs -0 grep -lZE '^(bind-address|log)' \
+		| xargs -rt -0 sed -Ei 's/^(bind-address|log)/#&/' \
 # don't reverse lookup hostnames, they are usually another container
-RUN sed -Ei 's/^(bind-address|log)/#&/' /etc/mysql/mysql.conf.d/mysqld.cnf \
 	&& echo '[mysqld]\nskip-host-cache\nskip-name-resolve' > /etc/mysql/conf.d/docker.cnf
 
 VOLUME /var/lib/mysql
diff --git a/percona_5.5/Dockerfile b/percona_5.5/Dockerfile
index e2025da..e5206cc 100644
--- a/percona_5.5/Dockerfile
+++ b/percona_5.5/Dockerfile
@@ -74,14 +74,12 @@ RUN { \
 	&& rm -rf /var/lib/mysql && mkdir -p /var/lib/mysql /var/run/mysqld \
 	&& chown -R mysql:mysql /var/lib/mysql /var/run/mysqld \
 # ensure that /var/run/mysqld (used for socket and lock files) is writable regardless of the UID our mysqld instance ends up having at runtime
-	&& chmod 777 /var/run/mysqld
-
+	&& chmod 777 /var/run/mysqld \
 # comment out a few problematic configuration values
-# don't reverse lookup hostnames, they are usually another container
-RUN \
-	find /etc/mysql/ -name '*.cnf' -print0 \
+	&& find /etc/mysql/ -name '*.cnf' -print0 \
 		| xargs -0 grep -lZE '^(bind-address|log)' \
-		| xargs -0 sed -Ei 's/^(bind-address|log)/#&/' \
+		| xargs -rt -0 sed -Ei 's/^(bind-address|log)/#&/' \
+# don't reverse lookup hostnames, they are usually another container
 	&& echo '[mysqld]\nskip-host-cache\nskip-name-resolve' > /etc/mysql/conf.d/docker.cnf
 
 VOLUME ["/var/lib/mysql", "/var/log/mysql"]
diff --git a/percona_5.5/docker-entrypoint.sh b/percona_5.5/docker-entrypoint.sh
index 2e6799d..42a4cc7 100755
--- a/percona_5.5/docker-entrypoint.sh
+++ b/percona_5.5/docker-entrypoint.sh
@@ -113,14 +113,28 @@ if [ "$1" = 'mysqld' -a -z "$wantHelp" ]; then
 			export MYSQL_ROOT_PASSWORD="$(pwgen -1 32)"
 			echo "GENERATED ROOT PASSWORD: $MYSQL_ROOT_PASSWORD"
 		fi
+
+		rootCreate=
+		# default root to listen for connections from anywhere
+		file_env 'MYSQL_ROOT_HOST' '%'
+		if [ ! -z "$MYSQL_ROOT_HOST" -a "$MYSQL_ROOT_HOST" != 'localhost' ]; then
+			# no, we don't care if read finds a terminating character in this heredoc
+			# https://unix.stackexchange.com/questions/265149/why-is-set-o-errexit-breaking-this-read-heredoc-expression/265151#265151
+			read -r -d '' rootCreate <<-EOSQL || true
+				CREATE USER 'root'@'${MYSQL_ROOT_HOST}' IDENTIFIED BY '${MYSQL_ROOT_PASSWORD}' ;
+				GRANT ALL ON *.* TO 'root'@'${MYSQL_ROOT_HOST}' WITH GRANT OPTION ;
+			EOSQL
+		fi
+
 		"${mysql[@]}" <<-EOSQL
 			-- What's done in this file shouldn't be replicated
 			--  or products like mysql-fabric won't work
 			SET @@SESSION.SQL_LOG_BIN=0;
 
-			DELETE FROM mysql.user ;
-			CREATE USER 'root'@'%' IDENTIFIED BY '${MYSQL_ROOT_PASSWORD}' ;
-			GRANT ALL ON *.* TO 'root'@'%' WITH GRANT OPTION ;
+			DELETE FROM mysql.user WHERE user NOT IN ('mysql.sys', 'mysqlxsys', 'root') OR host NOT IN ('localhost') ;
+			SET PASSWORD FOR 'root'@'localhost'=PASSWORD('${MYSQL_ROOT_PASSWORD}') ;
+			GRANT ALL ON *.* TO 'root'@'localhost' WITH GRANT OPTION ;
+			${rootCreate}
 			DROP DATABASE IF EXISTS test ;
 			FLUSH PRIVILEGES ;
 		EOSQL
diff --git a/percona_5.6/Dockerfile b/percona_5.6/Dockerfile
index a379500..edb6289 100644
--- a/percona_5.6/Dockerfile
+++ b/percona_5.6/Dockerfile
@@ -74,14 +74,12 @@ RUN { \
 	&& rm -rf /var/lib/mysql && mkdir -p /var/lib/mysql /var/run/mysqld \
 	&& chown -R mysql:mysql /var/lib/mysql /var/run/mysqld \
 # ensure that /var/run/mysqld (used for socket and lock files) is writable regardless of the UID our mysqld instance ends up having at runtime
-	&& chmod 777 /var/run/mysqld
-
+	&& chmod 777 /var/run/mysqld \
 # comment out a few problematic configuration values
-# don't reverse lookup hostnames, they are usually another container
-RUN \
-	find /etc/mysql/ -name '*.cnf' -print0 \
+	&& find /etc/mysql/ -name '*.cnf' -print0 \
 		| xargs -0 grep -lZE '^(bind-address|log)' \
-		| xargs -0 sed -Ei 's/^(bind-address|log)/#&/' \
+		| xargs -rt -0 sed -Ei 's/^(bind-address|log)/#&/' \
+# don't reverse lookup hostnames, they are usually another container
 	&& echo '[mysqld]\nskip-host-cache\nskip-name-resolve' > /etc/mysql/conf.d/docker.cnf
 
 VOLUME ["/var/lib/mysql", "/var/log/mysql"]
diff --git a/percona_5.6/docker-entrypoint.sh b/percona_5.6/docker-entrypoint.sh
index 2e6799d..42a4cc7 100755
--- a/percona_5.6/docker-entrypoint.sh
+++ b/percona_5.6/docker-entrypoint.sh
@@ -113,14 +113,28 @@ if [ "$1" = 'mysqld' -a -z "$wantHelp" ]; then
 			export MYSQL_ROOT_PASSWORD="$(pwgen -1 32)"
 			echo "GENERATED ROOT PASSWORD: $MYSQL_ROOT_PASSWORD"
 		fi
+
+		rootCreate=
+		# default root to listen for connections from anywhere
+		file_env 'MYSQL_ROOT_HOST' '%'
+		if [ ! -z "$MYSQL_ROOT_HOST" -a "$MYSQL_ROOT_HOST" != 'localhost' ]; then
+			# no, we don't care if read finds a terminating character in this heredoc
+			# https://unix.stackexchange.com/questions/265149/why-is-set-o-errexit-breaking-this-read-heredoc-expression/265151#265151
+			read -r -d '' rootCreate <<-EOSQL || true
+				CREATE USER 'root'@'${MYSQL_ROOT_HOST}' IDENTIFIED BY '${MYSQL_ROOT_PASSWORD}' ;
+				GRANT ALL ON *.* TO 'root'@'${MYSQL_ROOT_HOST}' WITH GRANT OPTION ;
+			EOSQL
+		fi
+
 		"${mysql[@]}" <<-EOSQL
 			-- What's done in this file shouldn't be replicated
 			--  or products like mysql-fabric won't work
 			SET @@SESSION.SQL_LOG_BIN=0;
 
-			DELETE FROM mysql.user ;
-			CREATE USER 'root'@'%' IDENTIFIED BY '${MYSQL_ROOT_PASSWORD}' ;
-			GRANT ALL ON *.* TO 'root'@'%' WITH GRANT OPTION ;
+			DELETE FROM mysql.user WHERE user NOT IN ('mysql.sys', 'mysqlxsys', 'root') OR host NOT IN ('localhost') ;
+			SET PASSWORD FOR 'root'@'localhost'=PASSWORD('${MYSQL_ROOT_PASSWORD}') ;
+			GRANT ALL ON *.* TO 'root'@'localhost' WITH GRANT OPTION ;
+			${rootCreate}
 			DROP DATABASE IF EXISTS test ;
 			FLUSH PRIVILEGES ;
 		EOSQL
diff --git a/percona_latest/Dockerfile b/percona_latest/Dockerfile
index 105bbdb..2ea5498 100644
--- a/percona_latest/Dockerfile
+++ b/percona_latest/Dockerfile
@@ -74,14 +74,12 @@ RUN { \
 	&& rm -rf /var/lib/mysql && mkdir -p /var/lib/mysql /var/run/mysqld \
 	&& chown -R mysql:mysql /var/lib/mysql /var/run/mysqld \
 # ensure that /var/run/mysqld (used for socket and lock files) is writable regardless of the UID our mysqld instance ends up having at runtime
-	&& chmod 777 /var/run/mysqld
-
+	&& chmod 777 /var/run/mysqld \
 # comment out a few problematic configuration values
-# don't reverse lookup hostnames, they are usually another container
-RUN \
-	find /etc/mysql/ -name '*.cnf' -print0 \
+	&& find /etc/mysql/ -name '*.cnf' -print0 \
 		| xargs -0 grep -lZE '^(bind-address|log)' \
-		| xargs -0 sed -Ei 's/^(bind-address|log)/#&/' \
+		| xargs -rt -0 sed -Ei 's/^(bind-address|log)/#&/' \
+# don't reverse lookup hostnames, they are usually another container
 	&& echo '[mysqld]\nskip-host-cache\nskip-name-resolve' > /etc/mysql/conf.d/docker.cnf
 
 VOLUME ["/var/lib/mysql", "/var/log/mysql"]
diff --git a/percona_latest/docker-entrypoint.sh b/percona_latest/docker-entrypoint.sh
index e4548d4..62b1d15 100755
--- a/percona_latest/docker-entrypoint.sh
+++ b/percona_latest/docker-entrypoint.sh
@@ -113,14 +113,28 @@ if [ "$1" = 'mysqld' -a -z "$wantHelp" ]; then
 			export MYSQL_ROOT_PASSWORD="$(pwgen -1 32)"
 			echo "GENERATED ROOT PASSWORD: $MYSQL_ROOT_PASSWORD"
 		fi
+
+		rootCreate=
+		# default root to listen for connections from anywhere
+		file_env 'MYSQL_ROOT_HOST' '%'
+		if [ ! -z "$MYSQL_ROOT_HOST" -a "$MYSQL_ROOT_HOST" != 'localhost' ]; then
+			# no, we don't care if read finds a terminating character in this heredoc
+			# https://unix.stackexchange.com/questions/265149/why-is-set-o-errexit-breaking-this-read-heredoc-expression/265151#265151
+			read -r -d '' rootCreate <<-EOSQL || true
+				CREATE USER 'root'@'${MYSQL_ROOT_HOST}' IDENTIFIED BY '${MYSQL_ROOT_PASSWORD}' ;
+				GRANT ALL ON *.* TO 'root'@'${MYSQL_ROOT_HOST}' WITH GRANT OPTION ;
+			EOSQL
+		fi
+
 		"${mysql[@]}" <<-EOSQL
 			-- What's done in this file shouldn't be replicated
 			--  or products like mysql-fabric won't work
 			SET @@SESSION.SQL_LOG_BIN=0;
 
-			DELETE FROM mysql.user ;
-			CREATE USER 'root'@'%' IDENTIFIED BY '${MYSQL_ROOT_PASSWORD}' ;
-			GRANT ALL ON *.* TO 'root'@'%' WITH GRANT OPTION ;
+			DELETE FROM mysql.user WHERE user NOT IN ('mysql.sys', 'mysqlxsys', 'root') OR host NOT IN ('localhost') ;
+			SET PASSWORD FOR 'root'@'localhost'=PASSWORD('${MYSQL_ROOT_PASSWORD}') ;
+			GRANT ALL ON *.* TO 'root'@'localhost' WITH GRANT OPTION ;
+			${rootCreate}
 			DROP DATABASE IF EXISTS test ;
 			FLUSH PRIVILEGES ;
 		EOSQL
diff --git a/ruby_2.2-alpine/Dockerfile b/ruby_2.2-alpine/Dockerfile
index ccf820b..7d8e10a 100644
--- a/ruby_2.2-alpine/Dockerfile
+++ b/ruby_2.2-alpine/Dockerfile
@@ -11,6 +11,7 @@ ENV RUBY_MAJOR 2.2
 ENV RUBY_VERSION 2.2.8
 ENV RUBY_DOWNLOAD_SHA256 37eafc15037396c26870f6a6c5bcd0658d14b46cd5e191a3b56d89dd22d561b0
 ENV RUBYGEMS_VERSION 2.6.14
+ENV BUNDLER_VERSION 1.15.4
 
 # some of ruby's build scripts are written in ruby
 #   we purge system ruby later to make sure our final image uses what we just built
@@ -92,11 +93,8 @@ RUN set -ex \
 	&& cd / \
 	&& rm -r /usr/src/ruby \
 	\
-	&& gem update --system "$RUBYGEMS_VERSION"
-
-ENV BUNDLER_VERSION 1.15.4
-
-RUN gem install bundler --version "$BUNDLER_VERSION"
+	&& gem update --system "$RUBYGEMS_VERSION" \
+	&& gem install bundler --version "$BUNDLER_VERSION" --force
 
 # install things globally, for great justice
 # and don't create ".bundle" in all our apps
diff --git a/ruby_2.2-slim/Dockerfile b/ruby_2.2-slim/Dockerfile
index cb0893f..508baea 100644
--- a/ruby_2.2-slim/Dockerfile
+++ b/ruby_2.2-slim/Dockerfile
@@ -23,6 +23,7 @@ ENV RUBY_MAJOR 2.2
 ENV RUBY_VERSION 2.2.8
 ENV RUBY_DOWNLOAD_SHA256 37eafc15037396c26870f6a6c5bcd0658d14b46cd5e191a3b56d89dd22d561b0
 ENV RUBYGEMS_VERSION 2.6.14
+ENV BUNDLER_VERSION 1.15.4
 
 # some of ruby's build scripts are written in ruby
 #   we purge system ruby later to make sure our final image uses what we just built
@@ -83,11 +84,8 @@ RUN set -ex \
 	&& cd / \
 	&& rm -r /usr/src/ruby \
 	\
-	&& gem update --system "$RUBYGEMS_VERSION"
-
-ENV BUNDLER_VERSION 1.15.4
-
-RUN gem install bundler --version "$BUNDLER_VERSION"
+	&& gem update --system "$RUBYGEMS_VERSION" \
+	&& gem install bundler --version "$BUNDLER_VERSION" --force
 
 # install things globally, for great justice
 # and don't create ".bundle" in all our apps
diff --git a/ruby_2.2/Dockerfile b/ruby_2.2/Dockerfile
index f0f3bb3..e78f07c 100644
--- a/ruby_2.2/Dockerfile
+++ b/ruby_2.2/Dockerfile
@@ -11,6 +11,7 @@ ENV RUBY_MAJOR 2.2
 ENV RUBY_VERSION 2.2.8
 ENV RUBY_DOWNLOAD_SHA256 37eafc15037396c26870f6a6c5bcd0658d14b46cd5e191a3b56d89dd22d561b0
 ENV RUBYGEMS_VERSION 2.6.14
+ENV BUNDLER_VERSION 1.15.4
 
 # some of ruby's build scripts are written in ruby
 #   we purge system ruby later to make sure our final image uses what we just built
@@ -57,11 +58,8 @@ RUN set -ex \
 	&& cd / \
 	&& rm -r /usr/src/ruby \
 	\
-	&& gem update --system "$RUBYGEMS_VERSION"
-
-ENV BUNDLER_VERSION 1.15.4
-
-RUN gem install bundler --version "$BUNDLER_VERSION"
+	&& gem update --system "$RUBYGEMS_VERSION" \
+	&& gem install bundler --version "$BUNDLER_VERSION" --force
 
 # install things globally, for great justice
 # and don't create ".bundle" in all our apps
diff --git a/ruby_2.3-alpine/Dockerfile b/ruby_2.3-alpine/Dockerfile
index 9b43e0a..411929d 100644
--- a/ruby_2.3-alpine/Dockerfile
+++ b/ruby_2.3-alpine/Dockerfile
@@ -11,6 +11,7 @@ ENV RUBY_MAJOR 2.3
 ENV RUBY_VERSION 2.3.5
 ENV RUBY_DOWNLOAD_SHA256 7d3a7dabb190c2da06c963063342ca9a214bcd26f2158e904f0ec059b065ffda
 ENV RUBYGEMS_VERSION 2.6.14
+ENV BUNDLER_VERSION 1.15.4
 
 # some of ruby's build scripts are written in ruby
 #   we purge system ruby later to make sure our final image uses what we just built
@@ -92,11 +93,8 @@ RUN set -ex \
 	&& cd / \
 	&& rm -r /usr/src/ruby \
 	\
-	&& gem update --system "$RUBYGEMS_VERSION"
-
-ENV BUNDLER_VERSION 1.15.4
-
-RUN gem install bundler --version "$BUNDLER_VERSION"
+	&& gem update --system "$RUBYGEMS_VERSION" \
+	&& gem install bundler --version "$BUNDLER_VERSION" --force
 
 # install things globally, for great justice
 # and don't create ".bundle" in all our apps
diff --git a/ruby_2.3-slim/Dockerfile b/ruby_2.3-slim/Dockerfile
index a81314d..7ab7901 100644
--- a/ruby_2.3-slim/Dockerfile
+++ b/ruby_2.3-slim/Dockerfile
@@ -23,6 +23,7 @@ ENV RUBY_MAJOR 2.3
 ENV RUBY_VERSION 2.3.5
 ENV RUBY_DOWNLOAD_SHA256 7d3a7dabb190c2da06c963063342ca9a214bcd26f2158e904f0ec059b065ffda
 ENV RUBYGEMS_VERSION 2.6.14
+ENV BUNDLER_VERSION 1.15.4
 
 # some of ruby's build scripts are written in ruby
 #   we purge system ruby later to make sure our final image uses what we just built
@@ -83,11 +84,8 @@ RUN set -ex \
 	&& cd / \
 	&& rm -r /usr/src/ruby \
 	\
-	&& gem update --system "$RUBYGEMS_VERSION"
-
-ENV BUNDLER_VERSION 1.15.4
-
-RUN gem install bundler --version "$BUNDLER_VERSION"
+	&& gem update --system "$RUBYGEMS_VERSION" \
+	&& gem install bundler --version "$BUNDLER_VERSION" --force
 
 # install things globally, for great justice
 # and don't create ".bundle" in all our apps
diff --git a/ruby_2.3/Dockerfile b/ruby_2.3/Dockerfile
index a775af9..5e94501 100644
--- a/ruby_2.3/Dockerfile
+++ b/ruby_2.3/Dockerfile
@@ -11,6 +11,7 @@ ENV RUBY_MAJOR 2.3
 ENV RUBY_VERSION 2.3.5
 ENV RUBY_DOWNLOAD_SHA256 7d3a7dabb190c2da06c963063342ca9a214bcd26f2158e904f0ec059b065ffda
 ENV RUBYGEMS_VERSION 2.6.14
+ENV BUNDLER_VERSION 1.15.4
 
 # some of ruby's build scripts are written in ruby
 #   we purge system ruby later to make sure our final image uses what we just built
@@ -57,11 +58,8 @@ RUN set -ex \
 	&& cd / \
 	&& rm -r /usr/src/ruby \
 	\
-	&& gem update --system "$RUBYGEMS_VERSION"
-
-ENV BUNDLER_VERSION 1.15.4
-
-RUN gem install bundler --version "$BUNDLER_VERSION"
+	&& gem update --system "$RUBYGEMS_VERSION" \
+	&& gem install bundler --version "$BUNDLER_VERSION" --force
 
 # install things globally, for great justice
 # and don't create ".bundle" in all our apps
diff --git a/ruby_alpine/Dockerfile b/ruby_alpine/Dockerfile
index 09e411b..2986fac 100644
--- a/ruby_alpine/Dockerfile
+++ b/ruby_alpine/Dockerfile
@@ -11,6 +11,7 @@ ENV RUBY_MAJOR 2.4
 ENV RUBY_VERSION 2.4.2
 ENV RUBY_DOWNLOAD_SHA256 748a8980d30141bd1a4124e11745bb105b436fb1890826e0d2b9ea31af27f735
 ENV RUBYGEMS_VERSION 2.6.14
+ENV BUNDLER_VERSION 1.15.4
 
 # some of ruby's build scripts are written in ruby
 #   we purge system ruby later to make sure our final image uses what we just built
@@ -92,11 +93,8 @@ RUN set -ex \
 	&& cd / \
 	&& rm -r /usr/src/ruby \
 	\
-	&& gem update --system "$RUBYGEMS_VERSION"
-
-ENV BUNDLER_VERSION 1.15.4
-
-RUN gem install bundler --version "$BUNDLER_VERSION"
+	&& gem update --system "$RUBYGEMS_VERSION" \
+	&& gem install bundler --version "$BUNDLER_VERSION" --force
 
 # install things globally, for great justice
 # and don't create ".bundle" in all our apps
diff --git a/ruby_alpine3.6/Dockerfile b/ruby_alpine3.6/Dockerfile
index 28ac755..5bc8af5 100644
--- a/ruby_alpine3.6/Dockerfile
+++ b/ruby_alpine3.6/Dockerfile
@@ -11,6 +11,7 @@ ENV RUBY_MAJOR 2.4
 ENV RUBY_VERSION 2.4.2
 ENV RUBY_DOWNLOAD_SHA256 748a8980d30141bd1a4124e11745bb105b436fb1890826e0d2b9ea31af27f735
 ENV RUBYGEMS_VERSION 2.6.14
+ENV BUNDLER_VERSION 1.15.4
 
 # some of ruby's build scripts are written in ruby
 #   we purge system ruby later to make sure our final image uses what we just built
@@ -92,11 +93,8 @@ RUN set -ex \
 	&& cd / \
 	&& rm -r /usr/src/ruby \
 	\
-	&& gem update --system "$RUBYGEMS_VERSION"
-
-ENV BUNDLER_VERSION 1.15.4
-
-RUN gem install bundler --version "$BUNDLER_VERSION"
+	&& gem update --system "$RUBYGEMS_VERSION" \
+	&& gem install bundler --version "$BUNDLER_VERSION" --force
 
 # install things globally, for great justice
 # and don't create ".bundle" in all our apps
diff --git a/ruby_latest/Dockerfile b/ruby_latest/Dockerfile
index 57a8416..8d32eeb 100644
--- a/ruby_latest/Dockerfile
+++ b/ruby_latest/Dockerfile
@@ -11,6 +11,7 @@ ENV RUBY_MAJOR 2.4
 ENV RUBY_VERSION 2.4.2
 ENV RUBY_DOWNLOAD_SHA256 748a8980d30141bd1a4124e11745bb105b436fb1890826e0d2b9ea31af27f735
 ENV RUBYGEMS_VERSION 2.6.14
+ENV BUNDLER_VERSION 1.15.4
 
 # some of ruby's build scripts are written in ruby
 #   we purge system ruby later to make sure our final image uses what we just built
@@ -57,11 +58,8 @@ RUN set -ex \
 	&& cd / \
 	&& rm -r /usr/src/ruby \
 	\
-	&& gem update --system "$RUBYGEMS_VERSION"
-
-ENV BUNDLER_VERSION 1.15.4
-
-RUN gem install bundler --version "$BUNDLER_VERSION"
+	&& gem update --system "$RUBYGEMS_VERSION" \
+	&& gem install bundler --version "$BUNDLER_VERSION" --force
 
 # install things globally, for great justice
 # and don't create ".bundle" in all our apps
diff --git a/ruby_alpine3.6/Dockerfile b/ruby_rc-alpine/Dockerfile
similarity index 91%
copy from ruby_alpine3.6/Dockerfile
copy to ruby_rc-alpine/Dockerfile
index 28ac755..75b5775 100644
--- a/ruby_alpine3.6/Dockerfile
+++ b/ruby_rc-alpine/Dockerfile
@@ -7,10 +7,11 @@ RUN mkdir -p /usr/local/etc \
 		echo 'update: --no-document'; \
 	} >> /usr/local/etc/gemrc
 
-ENV RUBY_MAJOR 2.4
-ENV RUBY_VERSION 2.4.2
-ENV RUBY_DOWNLOAD_SHA256 748a8980d30141bd1a4124e11745bb105b436fb1890826e0d2b9ea31af27f735
+ENV RUBY_MAJOR 2.5-rc
+ENV RUBY_VERSION 2.5.0-preview1
+ENV RUBY_DOWNLOAD_SHA256 c2f518eb04b38bdd562ba5611abd2521248a1608fc466368563dd794ddeddd09
 ENV RUBYGEMS_VERSION 2.6.14
+ENV BUNDLER_VERSION 1.15.4
 
 # some of ruby's build scripts are written in ruby
 #   we purge system ruby later to make sure our final image uses what we just built
@@ -92,11 +93,8 @@ RUN set -ex \
 	&& cd / \
 	&& rm -r /usr/src/ruby \
 	\
-	&& gem update --system "$RUBYGEMS_VERSION"
-
-ENV BUNDLER_VERSION 1.15.4
-
-RUN gem install bundler --version "$BUNDLER_VERSION"
+	&& gem update --system "$RUBYGEMS_VERSION" \
+	&& gem install bundler --version "$BUNDLER_VERSION" --force
 
 # install things globally, for great justice
 # and don't create ".bundle" in all our apps
diff --git a/ruby_slim-stretch/Dockerfile b/ruby_rc-slim/Dockerfile
similarity index 90%
copy from ruby_slim-stretch/Dockerfile
copy to ruby_rc-slim/Dockerfile
index 22e9f65..87c160b 100644
--- a/ruby_slim-stretch/Dockerfile
+++ b/ruby_rc-slim/Dockerfile
@@ -19,10 +19,11 @@ RUN mkdir -p /usr/local/etc \
 		echo 'update: --no-document'; \
 	} >> /usr/local/etc/gemrc
 
-ENV RUBY_MAJOR 2.4
-ENV RUBY_VERSION 2.4.2
-ENV RUBY_DOWNLOAD_SHA256 748a8980d30141bd1a4124e11745bb105b436fb1890826e0d2b9ea31af27f735
+ENV RUBY_MAJOR 2.5-rc
+ENV RUBY_VERSION 2.5.0-preview1
+ENV RUBY_DOWNLOAD_SHA256 c2f518eb04b38bdd562ba5611abd2521248a1608fc466368563dd794ddeddd09
 ENV RUBYGEMS_VERSION 2.6.14
+ENV BUNDLER_VERSION 1.15.4
 
 # some of ruby's build scripts are written in ruby
 #   we purge system ruby later to make sure our final image uses what we just built
@@ -83,11 +84,8 @@ RUN set -ex \
 	&& cd / \
 	&& rm -r /usr/src/ruby \
 	\
-	&& gem update --system "$RUBYGEMS_VERSION"
-
-ENV BUNDLER_VERSION 1.15.4
-
-RUN gem install bundler --version "$BUNDLER_VERSION"
+	&& gem update --system "$RUBYGEMS_VERSION" \
+	&& gem install bundler --version "$BUNDLER_VERSION" --force
 
 # install things globally, for great justice
 # and don't create ".bundle" in all our apps
diff --git a/ruby_stretch/Dockerfile b/ruby_rc/Dockerfile
similarity index 87%
copy from ruby_stretch/Dockerfile
copy to ruby_rc/Dockerfile
index 7e63445..cbc1666 100644
--- a/ruby_stretch/Dockerfile
+++ b/ruby_rc/Dockerfile
@@ -7,10 +7,11 @@ RUN mkdir -p /usr/local/etc \
 		echo 'update: --no-document'; \
 	} >> /usr/local/etc/gemrc
 
-ENV RUBY_MAJOR 2.4
-ENV RUBY_VERSION 2.4.2
-ENV RUBY_DOWNLOAD_SHA256 748a8980d30141bd1a4124e11745bb105b436fb1890826e0d2b9ea31af27f735
+ENV RUBY_MAJOR 2.5-rc
+ENV RUBY_VERSION 2.5.0-preview1
+ENV RUBY_DOWNLOAD_SHA256 c2f518eb04b38bdd562ba5611abd2521248a1608fc466368563dd794ddeddd09
 ENV RUBYGEMS_VERSION 2.6.14
+ENV BUNDLER_VERSION 1.15.4
 
 # some of ruby's build scripts are written in ruby
 #   we purge system ruby later to make sure our final image uses what we just built
@@ -57,11 +58,8 @@ RUN set -ex \
 	&& cd / \
 	&& rm -r /usr/src/ruby \
 	\
-	&& gem update --system "$RUBYGEMS_VERSION"
-
-ENV BUNDLER_VERSION 1.15.4
-
-RUN gem install bundler --version "$BUNDLER_VERSION"
+	&& gem update --system "$RUBYGEMS_VERSION" \
+	&& gem install bundler --version "$BUNDLER_VERSION" --force
 
 # install things globally, for great justice
 # and don't create ".bundle" in all our apps
diff --git a/ruby_slim-stretch/Dockerfile b/ruby_slim-stretch/Dockerfile
index 22e9f65..d9dd0e8 100644
--- a/ruby_slim-stretch/Dockerfile
+++ b/ruby_slim-stretch/Dockerfile
@@ -23,6 +23,7 @@ ENV RUBY_MAJOR 2.4
 ENV RUBY_VERSION 2.4.2
 ENV RUBY_DOWNLOAD_SHA256 748a8980d30141bd1a4124e11745bb105b436fb1890826e0d2b9ea31af27f735
 ENV RUBYGEMS_VERSION 2.6.14
+ENV BUNDLER_VERSION 1.15.4
 
 # some of ruby's build scripts are written in ruby
 #   we purge system ruby later to make sure our final image uses what we just built
@@ -83,11 +84,8 @@ RUN set -ex \
 	&& cd / \
 	&& rm -r /usr/src/ruby \
 	\
-	&& gem update --system "$RUBYGEMS_VERSION"
-
-ENV BUNDLER_VERSION 1.15.4
-
-RUN gem install bundler --version "$BUNDLER_VERSION"
+	&& gem update --system "$RUBYGEMS_VERSION" \
+	&& gem install bundler --version "$BUNDLER_VERSION" --force
 
 # install things globally, for great justice
 # and don't create ".bundle" in all our apps
diff --git a/ruby_slim/Dockerfile b/ruby_slim/Dockerfile
index 98f5973..549522e 100644
--- a/ruby_slim/Dockerfile
+++ b/ruby_slim/Dockerfile
@@ -23,6 +23,7 @@ ENV RUBY_MAJOR 2.4
 ENV RUBY_VERSION 2.4.2
 ENV RUBY_DOWNLOAD_SHA256 748a8980d30141bd1a4124e11745bb105b436fb1890826e0d2b9ea31af27f735
 ENV RUBYGEMS_VERSION 2.6.14
+ENV BUNDLER_VERSION 1.15.4
 
 # some of ruby's build scripts are written in ruby
 #   we purge system ruby later to make sure our final image uses what we just built
@@ -83,11 +84,8 @@ RUN set -ex \
 	&& cd / \
 	&& rm -r /usr/src/ruby \
 	\
-	&& gem update --system "$RUBYGEMS_VERSION"
-
-ENV BUNDLER_VERSION 1.15.4
-
-RUN gem install bundler --version "$BUNDLER_VERSION"
+	&& gem update --system "$RUBYGEMS_VERSION" \
+	&& gem install bundler --version "$BUNDLER_VERSION" --force
 
 # install things globally, for great justice
 # and don't create ".bundle" in all our apps
diff --git a/ruby_stretch/Dockerfile b/ruby_stretch/Dockerfile
index 7e63445..b8981fd 100644
--- a/ruby_stretch/Dockerfile
+++ b/ruby_stretch/Dockerfile
@@ -11,6 +11,7 @@ ENV RUBY_MAJOR 2.4
 ENV RUBY_VERSION 2.4.2
 ENV RUBY_DOWNLOAD_SHA256 748a8980d30141bd1a4124e11745bb105b436fb1890826e0d2b9ea31af27f735
 ENV RUBYGEMS_VERSION 2.6.14
+ENV BUNDLER_VERSION 1.15.4
 
 # some of ruby's build scripts are written in ruby
 #   we purge system ruby later to make sure our final image uses what we just built
@@ -57,11 +58,8 @@ RUN set -ex \
 	&& cd / \
 	&& rm -r /usr/src/ruby \
 	\
-	&& gem update --system "$RUBYGEMS_VERSION"
-
-ENV BUNDLER_VERSION 1.15.4
-
-RUN gem install bundler --version "$BUNDLER_VERSION"
+	&& gem update --system "$RUBYGEMS_VERSION" \
+	&& gem install bundler --version "$BUNDLER_VERSION" --force
 
 # install things globally, for great justice
 # and don't create ".bundle" in all our apps

@tianon
Copy link
Member Author

tianon commented Oct 25, 2017

Build test of #3620; 742356d (ghost, kibana, logstash, mariadb, mysql, percona, ruby):

$ bashbrew build ghost:1.15.1
Building bashbrew/cache:d27b32c754146be550705bb5cfe1668789b9895811e2f7a3b796edf93e70c7da (ghost:1.15.1)
Tagging ghost:1.15.1
Tagging ghost:1.15
Tagging ghost:1
Tagging ghost:latest

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


$ bashbrew build ghost:1.15.1-alpine
Building bashbrew/cache:e6fc5e9d663c1f2314d127e304ecf94ce58a66f94a9c385efb8f5a8d8837d213 (ghost:1.15.1-alpine)
Tagging ghost:1.15.1-alpine
Tagging ghost:1.15-alpine
Tagging ghost:1-alpine
Tagging ghost:alpine

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


$ bashbrew build ghost:0.11.12
Using bashbrew/cache:a0dc283e0f3cef0a604c62c1e6fa9c284f355f9bcd39614d98119d80e7090dd4 (ghost:0.11.12)
Tagging ghost:0.11.12
Tagging ghost:0.11
Tagging ghost:0

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


$ bashbrew build ghost:0.11.12-alpine
Using bashbrew/cache:fe259a82f7bde6128478a55c867d6e5e6db101ec8dcbb51ea59143e4399f6a3c (ghost:0.11.12-alpine)
Tagging ghost:0.11.12-alpine
Tagging ghost:0.11-alpine
Tagging ghost:0-alpine

$ test/run.sh ghost:0.11.12-alpine
testing ghost:0.11.12-alpine
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'ghost-basics' [5/5]....passed
$ bashbrew build kibana:5.6.3
Building bashbrew/cache:d4279e04060776086af48c4fe3b5ec52ec27aceec8c6a137fcd725757f15d4e3 (kibana:5.6.3)
Tagging kibana:5.6.3
Tagging kibana:5.6
Tagging kibana:5
Tagging kibana:latest

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


$ bashbrew build kibana:4.6.6
Using bashbrew/cache:6cc0306ec507c555a1ea725a6f478f431b4e5dbfc49bcc164ac312d4e3eadf43 (kibana:4.6.6)
Tagging kibana:4.6.6
Tagging kibana:4.6
Tagging kibana:4

$ test/run.sh kibana:4.6.6
testing kibana:4.6.6
	'utc' [1/4]...passed
	'cve-2014--shellshock' [2/4]...passed
	'no-hard-coded-passwords' [3/4]...passed
	'override-cmd' [4/4]...passed
$ bashbrew build logstash:5.6.3
Building bashbrew/cache:13982cae73ce2612e906d376272446f71e01881a871b6d2fc09f739b3aabce52 (logstash:5.6.3)
Tagging logstash:5.6.3
Tagging logstash:5.6
Tagging logstash:5
Tagging logstash:latest

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


$ bashbrew build logstash:5.6.3-alpine
Building bashbrew/cache:8eb1793a21d154a46e5ce9fb66427b90c614bba90af43826ddca465c14860170 (logstash:5.6.3-alpine)
Tagging logstash:5.6.3-alpine
Tagging logstash:5.6-alpine
Tagging logstash:5-alpine
Tagging logstash:alpine

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


$ bashbrew build logstash:2.4.1
Using bashbrew/cache:36e77ff2c08edc6cabf6b4b2cb8f5bfcb7d654319b4d78db51035889d5d08c6d (logstash:2.4.1)
Tagging logstash:2.4.1
Tagging logstash:2.4
Tagging logstash:2

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


$ bashbrew build logstash:2.4.1-alpine
Using bashbrew/cache:b7f59f285e8d25bdb60f1f9d95149266b0269ad26cf5d0abe1330f94e7df1cab (logstash:2.4.1-alpine)
Tagging logstash:2.4.1-alpine
Tagging logstash:2.4-alpine
Tagging logstash:2-alpine

$ test/run.sh logstash:2.4.1-alpine
testing logstash:2.4.1-alpine
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'logstash-basics' [5/5]..........passed
$ bashbrew build mariadb:10.3.2
Building bashbrew/cache:f4df7959558db4c9f71d163242cefeade962aa67245e3cb4ea5a1aae50c9b180 (mariadb:10.3.2)
Tagging mariadb:10.3.2
Tagging mariadb:10.3

$ test/run.sh mariadb:10.3.2
testing mariadb:10.3.2
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'mysql-basics' [5/7]......passed
	'mysql-initdb' [6/7].......passed
	'mysql-log-bin' [7/7].......passed


$ bashbrew build mariadb:10.2.9
Building bashbrew/cache:4725ae2736f1ddc9adaeeec686f04b073252b4cc0fe8d57728fdc3def8763c89 (mariadb:10.2.9)
Tagging mariadb:10.2.9
Tagging mariadb:10.2
Tagging mariadb:10
Tagging mariadb:latest

$ test/run.sh mariadb:10.2.9
testing mariadb:10.2.9
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'mysql-basics' [5/7]......passed
	'mysql-initdb' [6/7].......passed
	'mysql-log-bin' [7/7].......passed


$ bashbrew build mariadb:10.1.28
Building bashbrew/cache:51e2718902960fbade174e62984303dd4d9f573c3a0035133eb1f79dea5ed58f (mariadb:10.1.28)
Tagging mariadb:10.1.28
Tagging mariadb:10.1

$ test/run.sh mariadb:10.1.28
testing mariadb:10.1.28
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'mysql-basics' [5/7].........passed
	'mysql-initdb' [6/7]..........passed
	'mysql-log-bin' [7/7].........passed


$ bashbrew build mariadb:10.0.32
Building bashbrew/cache:63bb5052ef1755dc2127b1c6baa288b31b17f83950fdbdf360e7b27b6b5bf837 (mariadb:10.0.32)
Tagging mariadb:10.0.32
Tagging mariadb:10.0

$ test/run.sh mariadb:10.0.32
testing mariadb:10.0.32
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'mysql-basics' [5/7]........passed
	'mysql-initdb' [6/7].......passed
	'mysql-log-bin' [7/7]........passed


$ bashbrew build mariadb:5.5.58
Building bashbrew/cache:f8d329d10baf70e2a075b0584b953cf37db01f97d329f31fc06d99e24566c5b0 (mariadb:5.5.58)
Tagging mariadb:5.5.58
Tagging mariadb:5.5
Tagging mariadb:5

$ test/run.sh mariadb:5.5.58
testing mariadb:5.5.58
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'mysql-basics' [5/7]......passed
	'mysql-initdb' [6/7]......passed
	'mysql-log-bin' [7/7]......passed
$ bashbrew build mysql:8.0.3
Using bashbrew/cache:ee9347a94d077eb16a3272a1ebe381e141ad76a2e5e021516fa17f8abde60a01 (mysql:8.0.3)
Tagging mysql:8.0.3
Tagging mysql:8.0
Tagging mysql:8

$ test/run.sh mysql:8.0.3
testing mysql:8.0.3
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'mysql-basics' [5/7]...........passed
	'mysql-initdb' [6/7]..........passed
	'mysql-log-bin' [7/7]...........passed


$ bashbrew build mysql:5.7.20
Building bashbrew/cache:213e2838f6fed5f8c99634e921b142d31b441dbcf7c866255ab8941ef3356ffc (mysql:5.7.20)
Tagging mysql:5.7.20
Tagging mysql:5.7
Tagging mysql:5
Tagging mysql:latest

$ test/run.sh mysql:5.7.20
testing mysql:5.7.20
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'mysql-basics' [5/7]..........passed
	'mysql-initdb' [6/7].........passed
	'mysql-log-bin' [7/7]..........passed


$ bashbrew build mysql:5.6.38
Building bashbrew/cache:6879838684e053af5aae20ca79a138b0ab64271b027b244a12e54687c5af07e4 (mysql:5.6.38)
Tagging mysql:5.6.38
Tagging mysql:5.6

$ test/run.sh mysql:5.6.38
testing mysql:5.6.38
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'mysql-basics' [5/7].......passed
	'mysql-initdb' [6/7].......passed
	'mysql-log-bin' [7/7].......passed


$ bashbrew build mysql:5.5.58
Using bashbrew/cache:19d4e9244f180c6047431cd33d372661510e3711c0982b7fc5583c8059d9238d (mysql:5.5.58)
Tagging mysql:5.5.58
Tagging mysql:5.5

$ test/run.sh mysql:5.5.58
testing mysql:5.5.58
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'mysql-basics' [5/7]......passed
	'mysql-initdb' [6/7]......passed
	'mysql-log-bin' [7/7]......passed
$ bashbrew build percona:5.7.19
Building bashbrew/cache:da86102863d89d542ae8a3f6dcae14439907f6ab051e20b74c867fe846283938 (percona:5.7.19)
Tagging percona:5.7.19
Tagging percona:5.7
Tagging percona:5
Tagging percona:latest

$ test/run.sh percona:5.7.19
testing percona:5.7.19
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'mysql-basics' [5/7]..........passed
	'mysql-initdb' [6/7]..........passed
	'mysql-log-bin' [7/7].........passed


$ bashbrew build percona:5.6.37
Building bashbrew/cache:91df8c203da79086ab0fd58138096bf2cb7b4df721822d5410db591480cacbc3 (percona:5.6.37)
Tagging percona:5.6.37
Tagging percona:5.6

$ test/run.sh percona:5.6.37
testing percona:5.6.37
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'mysql-basics' [5/7]........passed
	'mysql-initdb' [6/7]........passed
	'mysql-log-bin' [7/7]........passed


$ bashbrew build percona:5.5.57
Building bashbrew/cache:ae1a3598bb3ae0cac9387c9762cec2f772eb523899305dcc9e009662fe175f44 (percona:5.5.57)
Tagging percona:5.5.57
Tagging percona:5.5

$ test/run.sh percona:5.5.57
testing percona:5.5.57
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'mysql-basics' [5/7]......passed
	'mysql-initdb' [6/7]......passed
	'mysql-log-bin' [7/7]......passed
$ bashbrew build ruby:2.5.0-preview1-stretch
Building bashbrew/cache:c5e7fce56f1dfae1bb5cefb11b03335f9135c20772e34f0cdb16b614f716e6ab (ruby:2.5.0-preview1-stretch)
Tagging ruby:2.5.0-preview1-stretch
Tagging ruby:2.5-rc-stretch
Tagging ruby:rc-stretch
Tagging ruby:2.5.0-preview1
Tagging ruby:2.5-rc
Tagging ruby:rc

$ test/run.sh ruby:2.5.0-preview1-stretch
testing ruby:2.5.0-preview1-stretch
	'utc' [1/9]...passed
	'cve-2014--shellshock' [2/9]...passed
	'no-hard-coded-passwords' [3/9]...passed
	'override-cmd' [4/9]...passed
	'ruby-hello-world' [5/9]...passed
	'ruby-standard-libs' [6/9]...passed
	'ruby-gems' [7/9]...passed
	'ruby-bundler' [8/9]...passed
	'ruby-nonroot' [9/9]...passed


$ bashbrew build ruby:2.5.0-preview1-slim-stretch
Building bashbrew/cache:d22266ea0570a9c3817054b88a847a1adc20259bb72492691d0548de94b2d203 (ruby:2.5.0-preview1-slim-stretch)
Tagging ruby:2.5.0-preview1-slim-stretch
Tagging ruby:2.5-rc-slim-stretch
Tagging ruby:rc-slim-stretch
Tagging ruby:2.5.0-preview1-slim
Tagging ruby:2.5-rc-slim
Tagging ruby:rc-slim

$ test/run.sh ruby:2.5.0-preview1-slim-stretch
testing ruby:2.5.0-preview1-slim-stretch
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'ruby-hello-world' [5/7]...passed
	'ruby-standard-libs' [6/7]...passed
	'ruby-nonroot' [7/7]...passed


$ bashbrew build ruby:2.5.0-preview1-alpine3.6
Building bashbrew/cache:4590c69109b2ec279fb9204212d1eea50159d1566effb27b0f700730bba78594 (ruby:2.5.0-preview1-alpine3.6)
Tagging ruby:2.5.0-preview1-alpine3.6
Tagging ruby:2.5-rc-alpine3.6
Tagging ruby:rc-alpine3.6
Tagging ruby:2.5.0-preview1-alpine
Tagging ruby:2.5-rc-alpine
Tagging ruby:rc-alpine

$ test/run.sh ruby:2.5.0-preview1-alpine3.6
testing ruby:2.5.0-preview1-alpine3.6
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'ruby-hello-world' [5/7]...passed
	'ruby-standard-libs' [6/7]...passed
	'ruby-nonroot' [7/7]...passed


$ bashbrew build ruby:2.4.2-stretch
Building bashbrew/cache:a86e4926e64aaee293da3f3d1c0f1ca518a77076b7f7609e3e272235b391d418 (ruby:2.4.2-stretch)
Tagging ruby:2.4.2-stretch
Tagging ruby:2.4-stretch
Tagging ruby:2-stretch
Tagging ruby:stretch

$ test/run.sh ruby:2.4.2-stretch
testing ruby:2.4.2-stretch
	'utc' [1/9]...passed
	'cve-2014--shellshock' [2/9]...passed
	'no-hard-coded-passwords' [3/9]...passed
	'override-cmd' [4/9]...passed
	'ruby-hello-world' [5/9]...passed
	'ruby-standard-libs' [6/9]...passed
	'ruby-gems' [7/9]...passed
	'ruby-bundler' [8/9]...passed
	'ruby-nonroot' [9/9]...passed


$ bashbrew build ruby:2.4.2-slim-stretch
Building bashbrew/cache:d45126e05827c4734b908934aec586a923baf7fc03063669095e90c0a346a65d (ruby:2.4.2-slim-stretch)
Tagging ruby:2.4.2-slim-stretch
Tagging ruby:2.4-slim-stretch
Tagging ruby:2-slim-stretch
Tagging ruby:slim-stretch

$ test/run.sh ruby:2.4.2-slim-stretch
testing ruby:2.4.2-slim-stretch
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'ruby-hello-world' [5/7]...passed
	'ruby-standard-libs' [6/7]...passed
	'ruby-nonroot' [7/7]...passed


$ bashbrew build ruby:2.4.2-jessie
Building bashbrew/cache:ef6037acf85f2cb764e5266730b62fb06a552129e20487c91e26f58ddb6614f8 (ruby:2.4.2-jessie)
Tagging ruby:2.4.2-jessie
Tagging ruby:2.4-jessie
Tagging ruby:2-jessie
Tagging ruby:jessie
Tagging ruby:2.4.2
Tagging ruby:2.4
Tagging ruby:2
Tagging ruby:latest

$ test/run.sh ruby:2.4.2-jessie
testing ruby:2.4.2-jessie
	'utc' [1/9]...passed
	'cve-2014--shellshock' [2/9]...passed
	'no-hard-coded-passwords' [3/9]...passed
	'override-cmd' [4/9]...passed
	'ruby-hello-world' [5/9]...passed
	'ruby-standard-libs' [6/9]...passed
	'ruby-gems' [7/9]...passed
	'ruby-bundler' [8/9]...passed
	'ruby-nonroot' [9/9]...passed


$ bashbrew build ruby:2.4.2-slim-jessie
Building bashbrew/cache:472602b5492dc8fca7ec8fffa10e298a38c76fe728a894c8ccb5fd82de5ff167 (ruby:2.4.2-slim-jessie)
Tagging ruby:2.4.2-slim-jessie
Tagging ruby:2.4-slim-jessie
Tagging ruby:2-slim-jessie
Tagging ruby:slim-jessie
Tagging ruby:2.4.2-slim
Tagging ruby:2.4-slim
Tagging ruby:2-slim
Tagging ruby:slim

$ test/run.sh ruby:2.4.2-slim-jessie
testing ruby:2.4.2-slim-jessie
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'ruby-hello-world' [5/7]...passed
	'ruby-standard-libs' [6/7]...passed
	'ruby-nonroot' [7/7]...passed


$ bashbrew build ruby:2.4.2-onbuild
Building bashbrew/cache:b9d70ebd6997f1416932116ec14dca676259dc0cb1dd85b8919d8b0fa4d38f5b (ruby:2.4.2-onbuild)
Tagging ruby:2.4.2-onbuild
Tagging ruby:2.4-onbuild
Tagging ruby:2-onbuild
Tagging ruby:onbuild

$ test/run.sh ruby:2.4.2-onbuild
testing ruby:2.4.2-onbuild
	'override-cmd' [1/1]...passed


$ bashbrew build ruby:2.4.2-alpine3.6
Building bashbrew/cache:131b6c2d1c88846a033432f86507f5dec4de7f5ba592584bef83d39276debcc7 (ruby:2.4.2-alpine3.6)
Tagging ruby:2.4.2-alpine3.6
Tagging ruby:2.4-alpine3.6
Tagging ruby:2-alpine3.6
Tagging ruby:alpine3.6

$ test/run.sh ruby:2.4.2-alpine3.6
testing ruby:2.4.2-alpine3.6
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'ruby-hello-world' [5/7]...passed
	'ruby-standard-libs' [6/7]...passed
	'ruby-nonroot' [7/7]...passed


$ bashbrew build ruby:2.4.2-alpine3.4
Building bashbrew/cache:85cefd10f206f935925de7f2399a2d5fb7ccfcf98e86d1f60c4f72557b46e2a8 (ruby:2.4.2-alpine3.4)
Tagging ruby:2.4.2-alpine3.4
Tagging ruby:2.4-alpine3.4
Tagging ruby:2-alpine3.4
Tagging ruby:alpine3.4
Tagging ruby:2.4.2-alpine
Tagging ruby:2.4-alpine
Tagging ruby:2-alpine
Tagging ruby:alpine

$ test/run.sh ruby:2.4.2-alpine3.4
testing ruby:2.4.2-alpine3.4
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'ruby-hello-world' [5/7]...passed
	'ruby-standard-libs' [6/7]...passed
	'ruby-nonroot' [7/7]...passed


$ bashbrew build ruby:2.3.5-jessie
Building bashbrew/cache:2978f760eaed7d30969ff8ec8115d99e253d7bec3e1296fc80119e987a5dab61 (ruby:2.3.5-jessie)
Tagging ruby:2.3.5-jessie
Tagging ruby:2.3-jessie
Tagging ruby:2.3.5
Tagging ruby:2.3

$ test/run.sh ruby:2.3.5-jessie
testing ruby:2.3.5-jessie
	'utc' [1/9]...passed
	'cve-2014--shellshock' [2/9]...passed
	'no-hard-coded-passwords' [3/9]...passed
	'override-cmd' [4/9]...passed
	'ruby-hello-world' [5/9]...passed
	'ruby-standard-libs' [6/9]...passed
	'ruby-gems' [7/9]...passed
	'ruby-bundler' [8/9]...passed
	'ruby-nonroot' [9/9]...passed


$ bashbrew build ruby:2.3.5-slim-jessie
Building bashbrew/cache:a99bcd33e8f0d132d24c0b3f8bab938e50395cddb214dc37d7d583b339cd1b1d (ruby:2.3.5-slim-jessie)
Tagging ruby:2.3.5-slim-jessie
Tagging ruby:2.3-slim-jessie
Tagging ruby:2.3.5-slim
Tagging ruby:2.3-slim

$ test/run.sh ruby:2.3.5-slim-jessie
testing ruby:2.3.5-slim-jessie
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'ruby-hello-world' [5/7]...passed
	'ruby-standard-libs' [6/7]...passed
	'ruby-nonroot' [7/7]...passed


$ bashbrew build ruby:2.3.5-onbuild
Building bashbrew/cache:73b9d51d85015c5a8ed0d5337b6c2b6940c6472e8a33254b3a13d66fe5fefd77 (ruby:2.3.5-onbuild)
Tagging ruby:2.3.5-onbuild
Tagging ruby:2.3-onbuild

$ test/run.sh ruby:2.3.5-onbuild
testing ruby:2.3.5-onbuild
	'override-cmd' [1/1]...passed


$ bashbrew build ruby:2.3.5-alpine3.4
Building bashbrew/cache:e96e248390f72d83eda2e2558708ac0a2a1b4f5999dd0861ec06f5ccf000ca64 (ruby:2.3.5-alpine3.4)
Tagging ruby:2.3.5-alpine3.4
Tagging ruby:2.3-alpine3.4
Tagging ruby:2.3.5-alpine
Tagging ruby:2.3-alpine

$ test/run.sh ruby:2.3.5-alpine3.4
testing ruby:2.3.5-alpine3.4
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'ruby-hello-world' [5/7]...passed
	'ruby-standard-libs' [6/7]...passed
	'ruby-nonroot' [7/7]...passed


$ bashbrew build ruby:2.2.8-jessie
Building bashbrew/cache:873f035c9d18e8f7bb02eba1affc36066a8b4dda11b146b8fb37036b63ec6501 (ruby:2.2.8-jessie)
Tagging ruby:2.2.8-jessie
Tagging ruby:2.2-jessie
Tagging ruby:2.2.8
Tagging ruby:2.2

$ test/run.sh ruby:2.2.8-jessie
testing ruby:2.2.8-jessie
	'utc' [1/9]...passed
	'cve-2014--shellshock' [2/9]...passed
	'no-hard-coded-passwords' [3/9]...passed
	'override-cmd' [4/9]...passed
	'ruby-hello-world' [5/9]...passed
	'ruby-standard-libs' [6/9]...passed
	'ruby-gems' [7/9]...passed
	'ruby-bundler' [8/9]...passed
	'ruby-nonroot' [9/9]...passed


$ bashbrew build ruby:2.2.8-slim-jessie
Building bashbrew/cache:fde9a504a637382181d6d0d92ffa14975e6f99743cb2f9b59e700732746ac597 (ruby:2.2.8-slim-jessie)
Tagging ruby:2.2.8-slim-jessie
Tagging ruby:2.2-slim-jessie
Tagging ruby:2.2.8-slim
Tagging ruby:2.2-slim

$ test/run.sh ruby:2.2.8-slim-jessie
testing ruby:2.2.8-slim-jessie
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'ruby-hello-world' [5/7]...passed
	'ruby-standard-libs' [6/7]...passed
	'ruby-nonroot' [7/7]...passed


$ bashbrew build ruby:2.2.8-onbuild
Building bashbrew/cache:9f6b1687b7acf4ba4e56fe9b9bedd25ba64ab0258d980a3673faae418eb39c3c (ruby:2.2.8-onbuild)
Tagging ruby:2.2.8-onbuild
Tagging ruby:2.2-onbuild

$ test/run.sh ruby:2.2.8-onbuild
testing ruby:2.2.8-onbuild
	'override-cmd' [1/1]...passed


$ bashbrew build ruby:2.2.8-alpine3.4
Building bashbrew/cache:f87d49c64240e4dffe7832eb8060e612f53dc16fcc868ddb7c715e72dc866386 (ruby:2.2.8-alpine3.4)
Tagging ruby:2.2.8-alpine3.4
Tagging ruby:2.2-alpine3.4
Tagging ruby:2.2.8-alpine
Tagging ruby:2.2-alpine

$ test/run.sh ruby:2.2.8-alpine3.4
testing ruby:2.2.8-alpine3.4
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'ruby-hello-world' [5/7]...passed
	'ruby-standard-libs' [6/7]...passed
	'ruby-nonroot' [7/7]...passed

@yosifkit yosifkit merged commit b4557c2 into docker-library:master Oct 25, 2017
@yosifkit yosifkit deleted the update-docker-library branch October 25, 2017 18:19
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