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 docker-library images #4396

Merged
merged 1 commit into from
May 25, 2018

Conversation

tianon
Copy link
Member

@tianon tianon commented May 25, 2018

- `mariadb`: 10.3.7
- `memcached`: 1.5.8
- `php`: 7.2.6
- `postgres`: implement `nss_wrapper` for Debian variants (docker-library/postgres#448)
- `redmine`: fix build (docker-library/redmine#116)
- `wordpress`: add `zip` extension for "Export Personal Data" (docker-library/wordpress#304)
@tianon
Copy link
Member Author

tianon commented May 25, 2018

Diff:
diff --git a/_bashbrew-arches b/_bashbrew-arches
index 2bc9837..22e2260 100644
--- a/_bashbrew-arches
+++ b/_bashbrew-arches
@@ -357,14 +357,6 @@ postgres:latest @ arm64v8
 postgres:latest @ i386
 postgres:latest @ ppc64le
 postgres:latest @ s390x
-redmine:3.2 @ amd64
-redmine:3.2 @ arm32v5
-redmine:3.2 @ arm32v7
-redmine:3.2 @ arm64v8
-redmine:3.2 @ i386
-redmine:3.2 @ ppc64le
-redmine:3.2 @ s390x
-redmine:3.2-passenger @ amd64
 redmine:3.3 @ amd64
 redmine:3.3 @ arm32v5
 redmine:3.3 @ arm32v7
diff --git a/_bashbrew-list b/_bashbrew-list
index 10c86e4..597587d 100644
--- a/_bashbrew-list
+++ b/_bashbrew-list
@@ -9,14 +9,14 @@ mariadb:10.1.33
 mariadb:10.2
 mariadb:10.2.15
 mariadb:10.3
-mariadb:10.3.6
+mariadb:10.3.7
 mariadb:latest
 memcached:1
 memcached:1-alpine
 memcached:1.5
 memcached:1.5-alpine
-memcached:1.5.7
-memcached:1.5.7-alpine
+memcached:1.5.8
+memcached:1.5.8-alpine
 memcached:alpine
 memcached:latest
 php:5
@@ -224,28 +224,28 @@ php:7.2-zts-alpine
 php:7.2-zts-alpine3.6
 php:7.2-zts-alpine3.7
 php:7.2-zts-stretch
-php:7.2.5
-php:7.2.5-alpine
-php:7.2.5-alpine3.6
-php:7.2.5-alpine3.7
-php:7.2.5-apache
-php:7.2.5-apache-stretch
-php:7.2.5-cli
-php:7.2.5-cli-alpine
-php:7.2.5-cli-alpine3.6
-php:7.2.5-cli-alpine3.7
-php:7.2.5-cli-stretch
-php:7.2.5-fpm
-php:7.2.5-fpm-alpine
-php:7.2.5-fpm-alpine3.6
-php:7.2.5-fpm-alpine3.7
-php:7.2.5-fpm-stretch
-php:7.2.5-stretch
-php:7.2.5-zts
-php:7.2.5-zts-alpine
-php:7.2.5-zts-alpine3.6
-php:7.2.5-zts-alpine3.7
-php:7.2.5-zts-stretch
+php:7.2.6
+php:7.2.6-alpine
+php:7.2.6-alpine3.6
+php:7.2.6-alpine3.7
+php:7.2.6-apache
+php:7.2.6-apache-stretch
+php:7.2.6-cli
+php:7.2.6-cli-alpine
+php:7.2.6-cli-alpine3.6
+php:7.2.6-cli-alpine3.7
+php:7.2.6-cli-stretch
+php:7.2.6-fpm
+php:7.2.6-fpm-alpine
+php:7.2.6-fpm-alpine3.6
+php:7.2.6-fpm-alpine3.7
+php:7.2.6-fpm-stretch
+php:7.2.6-stretch
+php:7.2.6-zts
+php:7.2.6-zts-alpine
+php:7.2.6-zts-alpine3.6
+php:7.2.6-zts-alpine3.7
+php:7.2.6-zts-stretch
 php:alpine
 php:alpine3.6
 php:alpine3.7
@@ -294,10 +294,6 @@ postgres:alpine
 postgres:latest
 redmine:3
 redmine:3-passenger
-redmine:3.2
-redmine:3.2-passenger
-redmine:3.2.9
-redmine:3.2.9-passenger
 redmine:3.3
 redmine:3.3-passenger
 redmine:3.3.7
diff --git a/mariadb_10.3/Dockerfile b/mariadb_10.3/Dockerfile
index 62404e4..aa367a0 100644
--- a/mariadb_10.3/Dockerfile
+++ b/mariadb_10.3/Dockerfile
@@ -73,7 +73,7 @@ RUN echo "deb https://repo.percona.com/apt jessie main" > /etc/apt/sources.list.
 	} > /etc/apt/preferences.d/percona
 
 ENV MARIADB_MAJOR 10.3
-ENV MARIADB_VERSION 1:10.3.6+maria~jessie
+ENV MARIADB_VERSION 1:10.3.7+maria~jessie
 
 RUN echo "deb http://ftp.osuosl.org/pub/mariadb/repo/$MARIADB_MAJOR/debian jessie main" > /etc/apt/sources.list.d/mariadb.list \
 	&& { \
diff --git a/memcached_alpine/Dockerfile b/memcached_alpine/Dockerfile
index e7a017a..9313522 100644
--- a/memcached_alpine/Dockerfile
+++ b/memcached_alpine/Dockerfile
@@ -3,8 +3,8 @@ FROM alpine:3.7
 # add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
 RUN adduser -D memcache
 
-ENV MEMCACHED_VERSION 1.5.7
-ENV MEMCACHED_SHA1 31d6f6b80668025e4616aa2ad5c7a45f24ed9665
+ENV MEMCACHED_VERSION 1.5.8
+ENV MEMCACHED_SHA1 8db4363728edfce6c665c181f2237c7ea8ba3ea8
 
 RUN set -x \
 	\
diff --git a/memcached_latest/Dockerfile b/memcached_latest/Dockerfile
index 33bfd47..05ca5af 100644
--- a/memcached_latest/Dockerfile
+++ b/memcached_latest/Dockerfile
@@ -3,8 +3,8 @@ FROM debian:stretch-slim
 # add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
 RUN groupadd -r memcache && useradd -r -g memcache memcache
 
-ENV MEMCACHED_VERSION 1.5.7
-ENV MEMCACHED_SHA1 31d6f6b80668025e4616aa2ad5c7a45f24ed9665
+ENV MEMCACHED_VERSION 1.5.8
+ENV MEMCACHED_SHA1 8db4363728edfce6c665c181f2237c7ea8ba3ea8
 
 RUN set -x \
 	\
diff --git a/php_alpine/Dockerfile b/php_alpine/Dockerfile
index e945e13..9522b13 100644
--- a/php_alpine/Dockerfile
+++ b/php_alpine/Dockerfile
@@ -55,9 +55,9 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"
 
 ENV GPG_KEYS 1729F83938DA44E27BA0F4D3DBDB397470D12172 B1B44D8F021E4E2D6021E995DC9FF8D3EE5AF27F
 
-ENV PHP_VERSION 7.2.5
-ENV PHP_URL="https://secure.php.net/get/php-7.2.5.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-7.2.5.tar.xz.asc/from/this/mirror"
-ENV PHP_SHA256="af70a33b3f7a51510467199b39af151333fbbe4cc21923bad9c7cf64268cddb2" PHP_MD5=""
+ENV PHP_VERSION 7.2.6
+ENV PHP_URL="https://secure.php.net/get/php-7.2.6.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-7.2.6.tar.xz.asc/from/this/mirror"
+ENV PHP_SHA256="1f004e049788a3effc89ef417f06a6cf704c95ae2a718b2175185f2983381ae7" PHP_MD5=""
 
 RUN set -xe; \
 	\
diff --git a/php_alpine3.6/Dockerfile b/php_alpine3.6/Dockerfile
index 80486dc..03f0b2c 100644
--- a/php_alpine3.6/Dockerfile
+++ b/php_alpine3.6/Dockerfile
@@ -55,9 +55,9 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"
 
 ENV GPG_KEYS 1729F83938DA44E27BA0F4D3DBDB397470D12172 B1B44D8F021E4E2D6021E995DC9FF8D3EE5AF27F
 
-ENV PHP_VERSION 7.2.5
-ENV PHP_URL="https://secure.php.net/get/php-7.2.5.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-7.2.5.tar.xz.asc/from/this/mirror"
-ENV PHP_SHA256="af70a33b3f7a51510467199b39af151333fbbe4cc21923bad9c7cf64268cddb2" PHP_MD5=""
+ENV PHP_VERSION 7.2.6
+ENV PHP_URL="https://secure.php.net/get/php-7.2.6.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-7.2.6.tar.xz.asc/from/this/mirror"
+ENV PHP_SHA256="1f004e049788a3effc89ef417f06a6cf704c95ae2a718b2175185f2983381ae7" PHP_MD5=""
 
 RUN set -xe; \
 	\
diff --git a/php_apache/Dockerfile b/php_apache/Dockerfile
index cc8cd89..9068870 100644
--- a/php_apache/Dockerfile
+++ b/php_apache/Dockerfile
@@ -113,9 +113,9 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"
 
 ENV GPG_KEYS 1729F83938DA44E27BA0F4D3DBDB397470D12172 B1B44D8F021E4E2D6021E995DC9FF8D3EE5AF27F
 
-ENV PHP_VERSION 7.2.5
-ENV PHP_URL="https://secure.php.net/get/php-7.2.5.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-7.2.5.tar.xz.asc/from/this/mirror"
-ENV PHP_SHA256="af70a33b3f7a51510467199b39af151333fbbe4cc21923bad9c7cf64268cddb2" PHP_MD5=""
+ENV PHP_VERSION 7.2.6
+ENV PHP_URL="https://secure.php.net/get/php-7.2.6.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-7.2.6.tar.xz.asc/from/this/mirror"
+ENV PHP_SHA256="1f004e049788a3effc89ef417f06a6cf704c95ae2a718b2175185f2983381ae7" PHP_MD5=""
 
 RUN set -xe; \
 	\
diff --git a/php_fpm-alpine/Dockerfile b/php_fpm-alpine/Dockerfile
index 3ace282..3687601 100644
--- a/php_fpm-alpine/Dockerfile
+++ b/php_fpm-alpine/Dockerfile
@@ -56,9 +56,9 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"
 
 ENV GPG_KEYS 1729F83938DA44E27BA0F4D3DBDB397470D12172 B1B44D8F021E4E2D6021E995DC9FF8D3EE5AF27F
 
-ENV PHP_VERSION 7.2.5
-ENV PHP_URL="https://secure.php.net/get/php-7.2.5.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-7.2.5.tar.xz.asc/from/this/mirror"
-ENV PHP_SHA256="af70a33b3f7a51510467199b39af151333fbbe4cc21923bad9c7cf64268cddb2" PHP_MD5=""
+ENV PHP_VERSION 7.2.6
+ENV PHP_URL="https://secure.php.net/get/php-7.2.6.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-7.2.6.tar.xz.asc/from/this/mirror"
+ENV PHP_SHA256="1f004e049788a3effc89ef417f06a6cf704c95ae2a718b2175185f2983381ae7" PHP_MD5=""
 
 RUN set -xe; \
 	\
diff --git a/php_fpm-alpine3.6/Dockerfile b/php_fpm-alpine3.6/Dockerfile
index e214f95..187f5a7 100644
--- a/php_fpm-alpine3.6/Dockerfile
+++ b/php_fpm-alpine3.6/Dockerfile
@@ -56,9 +56,9 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"
 
 ENV GPG_KEYS 1729F83938DA44E27BA0F4D3DBDB397470D12172 B1B44D8F021E4E2D6021E995DC9FF8D3EE5AF27F
 
-ENV PHP_VERSION 7.2.5
-ENV PHP_URL="https://secure.php.net/get/php-7.2.5.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-7.2.5.tar.xz.asc/from/this/mirror"
-ENV PHP_SHA256="af70a33b3f7a51510467199b39af151333fbbe4cc21923bad9c7cf64268cddb2" PHP_MD5=""
+ENV PHP_VERSION 7.2.6
+ENV PHP_URL="https://secure.php.net/get/php-7.2.6.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-7.2.6.tar.xz.asc/from/this/mirror"
+ENV PHP_SHA256="1f004e049788a3effc89ef417f06a6cf704c95ae2a718b2175185f2983381ae7" PHP_MD5=""
 
 RUN set -xe; \
 	\
diff --git a/php_fpm/Dockerfile b/php_fpm/Dockerfile
index 298da11..2589dd7 100644
--- a/php_fpm/Dockerfile
+++ b/php_fpm/Dockerfile
@@ -55,9 +55,9 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"
 
 ENV GPG_KEYS 1729F83938DA44E27BA0F4D3DBDB397470D12172 B1B44D8F021E4E2D6021E995DC9FF8D3EE5AF27F
 
-ENV PHP_VERSION 7.2.5
-ENV PHP_URL="https://secure.php.net/get/php-7.2.5.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-7.2.5.tar.xz.asc/from/this/mirror"
-ENV PHP_SHA256="af70a33b3f7a51510467199b39af151333fbbe4cc21923bad9c7cf64268cddb2" PHP_MD5=""
+ENV PHP_VERSION 7.2.6
+ENV PHP_URL="https://secure.php.net/get/php-7.2.6.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-7.2.6.tar.xz.asc/from/this/mirror"
+ENV PHP_SHA256="1f004e049788a3effc89ef417f06a6cf704c95ae2a718b2175185f2983381ae7" PHP_MD5=""
 
 RUN set -xe; \
 	\
diff --git a/php_latest/Dockerfile b/php_latest/Dockerfile
index b729dff..ecd8a2a 100644
--- a/php_latest/Dockerfile
+++ b/php_latest/Dockerfile
@@ -54,9 +54,9 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"
 
 ENV GPG_KEYS 1729F83938DA44E27BA0F4D3DBDB397470D12172 B1B44D8F021E4E2D6021E995DC9FF8D3EE5AF27F
 
-ENV PHP_VERSION 7.2.5
-ENV PHP_URL="https://secure.php.net/get/php-7.2.5.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-7.2.5.tar.xz.asc/from/this/mirror"
-ENV PHP_SHA256="af70a33b3f7a51510467199b39af151333fbbe4cc21923bad9c7cf64268cddb2" PHP_MD5=""
+ENV PHP_VERSION 7.2.6
+ENV PHP_URL="https://secure.php.net/get/php-7.2.6.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-7.2.6.tar.xz.asc/from/this/mirror"
+ENV PHP_SHA256="1f004e049788a3effc89ef417f06a6cf704c95ae2a718b2175185f2983381ae7" PHP_MD5=""
 
 RUN set -xe; \
 	\
diff --git a/php_zts-alpine/Dockerfile b/php_zts-alpine/Dockerfile
index 5f2887c..d3e5b79 100644
--- a/php_zts-alpine/Dockerfile
+++ b/php_zts-alpine/Dockerfile
@@ -56,9 +56,9 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"
 
 ENV GPG_KEYS 1729F83938DA44E27BA0F4D3DBDB397470D12172 B1B44D8F021E4E2D6021E995DC9FF8D3EE5AF27F
 
-ENV PHP_VERSION 7.2.5
-ENV PHP_URL="https://secure.php.net/get/php-7.2.5.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-7.2.5.tar.xz.asc/from/this/mirror"
-ENV PHP_SHA256="af70a33b3f7a51510467199b39af151333fbbe4cc21923bad9c7cf64268cddb2" PHP_MD5=""
+ENV PHP_VERSION 7.2.6
+ENV PHP_URL="https://secure.php.net/get/php-7.2.6.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-7.2.6.tar.xz.asc/from/this/mirror"
+ENV PHP_SHA256="1f004e049788a3effc89ef417f06a6cf704c95ae2a718b2175185f2983381ae7" PHP_MD5=""
 
 RUN set -xe; \
 	\
diff --git a/php_zts-alpine3.6/Dockerfile b/php_zts-alpine3.6/Dockerfile
index 58ea1bc..502eeee 100644
--- a/php_zts-alpine3.6/Dockerfile
+++ b/php_zts-alpine3.6/Dockerfile
@@ -56,9 +56,9 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"
 
 ENV GPG_KEYS 1729F83938DA44E27BA0F4D3DBDB397470D12172 B1B44D8F021E4E2D6021E995DC9FF8D3EE5AF27F
 
-ENV PHP_VERSION 7.2.5
-ENV PHP_URL="https://secure.php.net/get/php-7.2.5.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-7.2.5.tar.xz.asc/from/this/mirror"
-ENV PHP_SHA256="af70a33b3f7a51510467199b39af151333fbbe4cc21923bad9c7cf64268cddb2" PHP_MD5=""
+ENV PHP_VERSION 7.2.6
+ENV PHP_URL="https://secure.php.net/get/php-7.2.6.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-7.2.6.tar.xz.asc/from/this/mirror"
+ENV PHP_SHA256="1f004e049788a3effc89ef417f06a6cf704c95ae2a718b2175185f2983381ae7" PHP_MD5=""
 
 RUN set -xe; \
 	\
diff --git a/php_zts/Dockerfile b/php_zts/Dockerfile
index aea68cb..2c34ce3 100644
--- a/php_zts/Dockerfile
+++ b/php_zts/Dockerfile
@@ -55,9 +55,9 @@ ENV PHP_LDFLAGS="-Wl,-O1 -Wl,--hash-style=both -pie"
 
 ENV GPG_KEYS 1729F83938DA44E27BA0F4D3DBDB397470D12172 B1B44D8F021E4E2D6021E995DC9FF8D3EE5AF27F
 
-ENV PHP_VERSION 7.2.5
-ENV PHP_URL="https://secure.php.net/get/php-7.2.5.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-7.2.5.tar.xz.asc/from/this/mirror"
-ENV PHP_SHA256="af70a33b3f7a51510467199b39af151333fbbe4cc21923bad9c7cf64268cddb2" PHP_MD5=""
+ENV PHP_VERSION 7.2.6
+ENV PHP_URL="https://secure.php.net/get/php-7.2.6.tar.xz/from/this/mirror" PHP_ASC_URL="https://secure.php.net/get/php-7.2.6.tar.xz.asc/from/this/mirror"
+ENV PHP_SHA256="1f004e049788a3effc89ef417f06a6cf704c95ae2a718b2175185f2983381ae7" PHP_MD5=""
 
 RUN set -xe; \
 	\
diff --git a/postgres_9-alpine/docker-entrypoint.sh b/postgres_9-alpine/docker-entrypoint.sh
index f217bf4..547adfb 100755
--- a/postgres_9-alpine/docker-entrypoint.sh
+++ b/postgres_9-alpine/docker-entrypoint.sh
@@ -1,5 +1,6 @@
 #!/usr/bin/env bash
-set -e
+set -Eeo pipefail
+# TODO swap to -Eeuo pipefail above (after handling all potentially-unset variables)
 
 # usage: file_env VAR [DEFAULT]
 #    ie: file_env 'XYZ_DB_PASSWORD' 'example'
@@ -54,12 +55,28 @@ if [ "$1" = 'postgres' ]; then
 
 	# look specifically for PG_VERSION, as it is expected in the DB dir
 	if [ ! -s "$PGDATA/PG_VERSION" ]; then
+		# "initdb" is particular about the current user existing in "/etc/passwd", so we use "nss_wrapper" to fake that if necessary
+		# see https://github.com/docker-library/postgres/pull/253, https://github.com/docker-library/postgres/issues/359, https://cwrap.org/nss_wrapper.html
+		if ! getent passwd "$(id -u)" &> /dev/null && [ -e /usr/lib/libnss_wrapper.so ]; then
+			export LD_PRELOAD='/usr/lib/libnss_wrapper.so'
+			export NSS_WRAPPER_PASSWD="$(mktemp)"
+			export NSS_WRAPPER_GROUP="$(mktemp)"
+			echo "postgres:x:$(id -u):$(id -g):PostgreSQL:$PGDATA:/bin/false" > "$NSS_WRAPPER_PASSWD"
+			echo "postgres:x:$(id -g):" > "$NSS_WRAPPER_GROUP"
+		fi
+
 		file_env 'POSTGRES_INITDB_ARGS'
 		if [ "$POSTGRES_INITDB_XLOGDIR" ]; then
 			export POSTGRES_INITDB_ARGS="$POSTGRES_INITDB_ARGS --xlogdir $POSTGRES_INITDB_XLOGDIR"
 		fi
 		eval "initdb --username=postgres $POSTGRES_INITDB_ARGS"
 
+		# unset/cleanup "nss_wrapper" bits
+		if [ "${LD_PRELOAD:-}" = '/usr/lib/libnss_wrapper.so' ]; then
+			rm -f "$NSS_WRAPPER_PASSWD" "$NSS_WRAPPER_GROUP"
+			unset LD_PRELOAD NSS_WRAPPER_PASSWD NSS_WRAPPER_GROUP
+		fi
+
 		# check password first so we can output the warning before postgres
 		# messes it up
 		file_env 'POSTGRES_PASSWORD'
diff --git a/postgres_9.3-alpine/docker-entrypoint.sh b/postgres_9.3-alpine/docker-entrypoint.sh
index f217bf4..547adfb 100755
--- a/postgres_9.3-alpine/docker-entrypoint.sh
+++ b/postgres_9.3-alpine/docker-entrypoint.sh
@@ -1,5 +1,6 @@
 #!/usr/bin/env bash
-set -e
+set -Eeo pipefail
+# TODO swap to -Eeuo pipefail above (after handling all potentially-unset variables)
 
 # usage: file_env VAR [DEFAULT]
 #    ie: file_env 'XYZ_DB_PASSWORD' 'example'
@@ -54,12 +55,28 @@ if [ "$1" = 'postgres' ]; then
 
 	# look specifically for PG_VERSION, as it is expected in the DB dir
 	if [ ! -s "$PGDATA/PG_VERSION" ]; then
+		# "initdb" is particular about the current user existing in "/etc/passwd", so we use "nss_wrapper" to fake that if necessary
+		# see https://github.com/docker-library/postgres/pull/253, https://github.com/docker-library/postgres/issues/359, https://cwrap.org/nss_wrapper.html
+		if ! getent passwd "$(id -u)" &> /dev/null && [ -e /usr/lib/libnss_wrapper.so ]; then
+			export LD_PRELOAD='/usr/lib/libnss_wrapper.so'
+			export NSS_WRAPPER_PASSWD="$(mktemp)"
+			export NSS_WRAPPER_GROUP="$(mktemp)"
+			echo "postgres:x:$(id -u):$(id -g):PostgreSQL:$PGDATA:/bin/false" > "$NSS_WRAPPER_PASSWD"
+			echo "postgres:x:$(id -g):" > "$NSS_WRAPPER_GROUP"
+		fi
+
 		file_env 'POSTGRES_INITDB_ARGS'
 		if [ "$POSTGRES_INITDB_XLOGDIR" ]; then
 			export POSTGRES_INITDB_ARGS="$POSTGRES_INITDB_ARGS --xlogdir $POSTGRES_INITDB_XLOGDIR"
 		fi
 		eval "initdb --username=postgres $POSTGRES_INITDB_ARGS"
 
+		# unset/cleanup "nss_wrapper" bits
+		if [ "${LD_PRELOAD:-}" = '/usr/lib/libnss_wrapper.so' ]; then
+			rm -f "$NSS_WRAPPER_PASSWD" "$NSS_WRAPPER_GROUP"
+			unset LD_PRELOAD NSS_WRAPPER_PASSWD NSS_WRAPPER_GROUP
+		fi
+
 		# check password first so we can output the warning before postgres
 		# messes it up
 		file_env 'POSTGRES_PASSWORD'
diff --git a/postgres_9.3/Dockerfile b/postgres_9.3/Dockerfile
index dd586c4..b716d3c 100644
--- a/postgres_9.3/Dockerfile
+++ b/postgres_9.3/Dockerfile
@@ -40,6 +40,14 @@ RUN set -eux; \
 	localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
 ENV LANG en_US.utf8
 
+# install "nss_wrapper" in case we need to fake "/etc/passwd" and "/etc/group" (especially for OpenShift)
+# https://github.com/docker-library/postgres/issues/359
+# https://cwrap.org/nss_wrapper.html
+RUN set -eux; \
+	apt-get update; \
+	apt-get install -y --no-install-recommends libnss-wrapper; \
+	rm -rf /var/lib/apt/lists/*
+
 RUN mkdir /docker-entrypoint-initdb.d
 
 RUN set -ex; \
diff --git a/postgres_9.3/docker-entrypoint.sh b/postgres_9.3/docker-entrypoint.sh
index bc13289..fbac223 100755
--- a/postgres_9.3/docker-entrypoint.sh
+++ b/postgres_9.3/docker-entrypoint.sh
@@ -1,5 +1,6 @@
 #!/usr/bin/env bash
-set -e
+set -Eeo pipefail
+# TODO swap to -Eeuo pipefail above (after handling all potentially-unset variables)
 
 # usage: file_env VAR [DEFAULT]
 #    ie: file_env 'XYZ_DB_PASSWORD' 'example'
@@ -54,12 +55,28 @@ if [ "$1" = 'postgres' ]; then
 
 	# look specifically for PG_VERSION, as it is expected in the DB dir
 	if [ ! -s "$PGDATA/PG_VERSION" ]; then
+		# "initdb" is particular about the current user existing in "/etc/passwd", so we use "nss_wrapper" to fake that if necessary
+		# see https://github.com/docker-library/postgres/pull/253, https://github.com/docker-library/postgres/issues/359, https://cwrap.org/nss_wrapper.html
+		if ! getent passwd "$(id -u)" &> /dev/null && [ -e /usr/lib/libnss_wrapper.so ]; then
+			export LD_PRELOAD='/usr/lib/libnss_wrapper.so'
+			export NSS_WRAPPER_PASSWD="$(mktemp)"
+			export NSS_WRAPPER_GROUP="$(mktemp)"
+			echo "postgres:x:$(id -u):$(id -g):PostgreSQL:$PGDATA:/bin/false" > "$NSS_WRAPPER_PASSWD"
+			echo "postgres:x:$(id -g):" > "$NSS_WRAPPER_GROUP"
+		fi
+
 		file_env 'POSTGRES_INITDB_ARGS'
 		if [ "$POSTGRES_INITDB_XLOGDIR" ]; then
 			export POSTGRES_INITDB_ARGS="$POSTGRES_INITDB_ARGS --xlogdir $POSTGRES_INITDB_XLOGDIR"
 		fi
 		eval "initdb --username=postgres $POSTGRES_INITDB_ARGS"
 
+		# unset/cleanup "nss_wrapper" bits
+		if [ "${LD_PRELOAD:-}" = '/usr/lib/libnss_wrapper.so' ]; then
+			rm -f "$NSS_WRAPPER_PASSWD" "$NSS_WRAPPER_GROUP"
+			unset LD_PRELOAD NSS_WRAPPER_PASSWD NSS_WRAPPER_GROUP
+		fi
+
 		# check password first so we can output the warning before postgres
 		# messes it up
 		file_env 'POSTGRES_PASSWORD'
diff --git a/postgres_9.4-alpine/docker-entrypoint.sh b/postgres_9.4-alpine/docker-entrypoint.sh
index f217bf4..547adfb 100755
--- a/postgres_9.4-alpine/docker-entrypoint.sh
+++ b/postgres_9.4-alpine/docker-entrypoint.sh
@@ -1,5 +1,6 @@
 #!/usr/bin/env bash
-set -e
+set -Eeo pipefail
+# TODO swap to -Eeuo pipefail above (after handling all potentially-unset variables)
 
 # usage: file_env VAR [DEFAULT]
 #    ie: file_env 'XYZ_DB_PASSWORD' 'example'
@@ -54,12 +55,28 @@ if [ "$1" = 'postgres' ]; then
 
 	# look specifically for PG_VERSION, as it is expected in the DB dir
 	if [ ! -s "$PGDATA/PG_VERSION" ]; then
+		# "initdb" is particular about the current user existing in "/etc/passwd", so we use "nss_wrapper" to fake that if necessary
+		# see https://github.com/docker-library/postgres/pull/253, https://github.com/docker-library/postgres/issues/359, https://cwrap.org/nss_wrapper.html
+		if ! getent passwd "$(id -u)" &> /dev/null && [ -e /usr/lib/libnss_wrapper.so ]; then
+			export LD_PRELOAD='/usr/lib/libnss_wrapper.so'
+			export NSS_WRAPPER_PASSWD="$(mktemp)"
+			export NSS_WRAPPER_GROUP="$(mktemp)"
+			echo "postgres:x:$(id -u):$(id -g):PostgreSQL:$PGDATA:/bin/false" > "$NSS_WRAPPER_PASSWD"
+			echo "postgres:x:$(id -g):" > "$NSS_WRAPPER_GROUP"
+		fi
+
 		file_env 'POSTGRES_INITDB_ARGS'
 		if [ "$POSTGRES_INITDB_XLOGDIR" ]; then
 			export POSTGRES_INITDB_ARGS="$POSTGRES_INITDB_ARGS --xlogdir $POSTGRES_INITDB_XLOGDIR"
 		fi
 		eval "initdb --username=postgres $POSTGRES_INITDB_ARGS"
 
+		# unset/cleanup "nss_wrapper" bits
+		if [ "${LD_PRELOAD:-}" = '/usr/lib/libnss_wrapper.so' ]; then
+			rm -f "$NSS_WRAPPER_PASSWD" "$NSS_WRAPPER_GROUP"
+			unset LD_PRELOAD NSS_WRAPPER_PASSWD NSS_WRAPPER_GROUP
+		fi
+
 		# check password first so we can output the warning before postgres
 		# messes it up
 		file_env 'POSTGRES_PASSWORD'
diff --git a/postgres_9.4/Dockerfile b/postgres_9.4/Dockerfile
index d8991a5..d4056fe 100644
--- a/postgres_9.4/Dockerfile
+++ b/postgres_9.4/Dockerfile
@@ -40,6 +40,14 @@ RUN set -eux; \
 	localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
 ENV LANG en_US.utf8
 
+# install "nss_wrapper" in case we need to fake "/etc/passwd" and "/etc/group" (especially for OpenShift)
+# https://github.com/docker-library/postgres/issues/359
+# https://cwrap.org/nss_wrapper.html
+RUN set -eux; \
+	apt-get update; \
+	apt-get install -y --no-install-recommends libnss-wrapper; \
+	rm -rf /var/lib/apt/lists/*
+
 RUN mkdir /docker-entrypoint-initdb.d
 
 RUN set -ex; \
diff --git a/postgres_9.4/docker-entrypoint.sh b/postgres_9.4/docker-entrypoint.sh
index bc13289..fbac223 100755
--- a/postgres_9.4/docker-entrypoint.sh
+++ b/postgres_9.4/docker-entrypoint.sh
@@ -1,5 +1,6 @@
 #!/usr/bin/env bash
-set -e
+set -Eeo pipefail
+# TODO swap to -Eeuo pipefail above (after handling all potentially-unset variables)
 
 # usage: file_env VAR [DEFAULT]
 #    ie: file_env 'XYZ_DB_PASSWORD' 'example'
@@ -54,12 +55,28 @@ if [ "$1" = 'postgres' ]; then
 
 	# look specifically for PG_VERSION, as it is expected in the DB dir
 	if [ ! -s "$PGDATA/PG_VERSION" ]; then
+		# "initdb" is particular about the current user existing in "/etc/passwd", so we use "nss_wrapper" to fake that if necessary
+		# see https://github.com/docker-library/postgres/pull/253, https://github.com/docker-library/postgres/issues/359, https://cwrap.org/nss_wrapper.html
+		if ! getent passwd "$(id -u)" &> /dev/null && [ -e /usr/lib/libnss_wrapper.so ]; then
+			export LD_PRELOAD='/usr/lib/libnss_wrapper.so'
+			export NSS_WRAPPER_PASSWD="$(mktemp)"
+			export NSS_WRAPPER_GROUP="$(mktemp)"
+			echo "postgres:x:$(id -u):$(id -g):PostgreSQL:$PGDATA:/bin/false" > "$NSS_WRAPPER_PASSWD"
+			echo "postgres:x:$(id -g):" > "$NSS_WRAPPER_GROUP"
+		fi
+
 		file_env 'POSTGRES_INITDB_ARGS'
 		if [ "$POSTGRES_INITDB_XLOGDIR" ]; then
 			export POSTGRES_INITDB_ARGS="$POSTGRES_INITDB_ARGS --xlogdir $POSTGRES_INITDB_XLOGDIR"
 		fi
 		eval "initdb --username=postgres $POSTGRES_INITDB_ARGS"
 
+		# unset/cleanup "nss_wrapper" bits
+		if [ "${LD_PRELOAD:-}" = '/usr/lib/libnss_wrapper.so' ]; then
+			rm -f "$NSS_WRAPPER_PASSWD" "$NSS_WRAPPER_GROUP"
+			unset LD_PRELOAD NSS_WRAPPER_PASSWD NSS_WRAPPER_GROUP
+		fi
+
 		# check password first so we can output the warning before postgres
 		# messes it up
 		file_env 'POSTGRES_PASSWORD'
diff --git a/postgres_9.5-alpine/docker-entrypoint.sh b/postgres_9.5-alpine/docker-entrypoint.sh
index f217bf4..547adfb 100755
--- a/postgres_9.5-alpine/docker-entrypoint.sh
+++ b/postgres_9.5-alpine/docker-entrypoint.sh
@@ -1,5 +1,6 @@
 #!/usr/bin/env bash
-set -e
+set -Eeo pipefail
+# TODO swap to -Eeuo pipefail above (after handling all potentially-unset variables)
 
 # usage: file_env VAR [DEFAULT]
 #    ie: file_env 'XYZ_DB_PASSWORD' 'example'
@@ -54,12 +55,28 @@ if [ "$1" = 'postgres' ]; then
 
 	# look specifically for PG_VERSION, as it is expected in the DB dir
 	if [ ! -s "$PGDATA/PG_VERSION" ]; then
+		# "initdb" is particular about the current user existing in "/etc/passwd", so we use "nss_wrapper" to fake that if necessary
+		# see https://github.com/docker-library/postgres/pull/253, https://github.com/docker-library/postgres/issues/359, https://cwrap.org/nss_wrapper.html
+		if ! getent passwd "$(id -u)" &> /dev/null && [ -e /usr/lib/libnss_wrapper.so ]; then
+			export LD_PRELOAD='/usr/lib/libnss_wrapper.so'
+			export NSS_WRAPPER_PASSWD="$(mktemp)"
+			export NSS_WRAPPER_GROUP="$(mktemp)"
+			echo "postgres:x:$(id -u):$(id -g):PostgreSQL:$PGDATA:/bin/false" > "$NSS_WRAPPER_PASSWD"
+			echo "postgres:x:$(id -g):" > "$NSS_WRAPPER_GROUP"
+		fi
+
 		file_env 'POSTGRES_INITDB_ARGS'
 		if [ "$POSTGRES_INITDB_XLOGDIR" ]; then
 			export POSTGRES_INITDB_ARGS="$POSTGRES_INITDB_ARGS --xlogdir $POSTGRES_INITDB_XLOGDIR"
 		fi
 		eval "initdb --username=postgres $POSTGRES_INITDB_ARGS"
 
+		# unset/cleanup "nss_wrapper" bits
+		if [ "${LD_PRELOAD:-}" = '/usr/lib/libnss_wrapper.so' ]; then
+			rm -f "$NSS_WRAPPER_PASSWD" "$NSS_WRAPPER_GROUP"
+			unset LD_PRELOAD NSS_WRAPPER_PASSWD NSS_WRAPPER_GROUP
+		fi
+
 		# check password first so we can output the warning before postgres
 		# messes it up
 		file_env 'POSTGRES_PASSWORD'
diff --git a/postgres_9.5/Dockerfile b/postgres_9.5/Dockerfile
index 47c0004..451d014 100644
--- a/postgres_9.5/Dockerfile
+++ b/postgres_9.5/Dockerfile
@@ -40,6 +40,14 @@ RUN set -eux; \
 	localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
 ENV LANG en_US.utf8
 
+# install "nss_wrapper" in case we need to fake "/etc/passwd" and "/etc/group" (especially for OpenShift)
+# https://github.com/docker-library/postgres/issues/359
+# https://cwrap.org/nss_wrapper.html
+RUN set -eux; \
+	apt-get update; \
+	apt-get install -y --no-install-recommends libnss-wrapper; \
+	rm -rf /var/lib/apt/lists/*
+
 RUN mkdir /docker-entrypoint-initdb.d
 
 RUN set -ex; \
diff --git a/postgres_9.5/docker-entrypoint.sh b/postgres_9.5/docker-entrypoint.sh
index bc13289..fbac223 100755
--- a/postgres_9.5/docker-entrypoint.sh
+++ b/postgres_9.5/docker-entrypoint.sh
@@ -1,5 +1,6 @@
 #!/usr/bin/env bash
-set -e
+set -Eeo pipefail
+# TODO swap to -Eeuo pipefail above (after handling all potentially-unset variables)
 
 # usage: file_env VAR [DEFAULT]
 #    ie: file_env 'XYZ_DB_PASSWORD' 'example'
@@ -54,12 +55,28 @@ if [ "$1" = 'postgres' ]; then
 
 	# look specifically for PG_VERSION, as it is expected in the DB dir
 	if [ ! -s "$PGDATA/PG_VERSION" ]; then
+		# "initdb" is particular about the current user existing in "/etc/passwd", so we use "nss_wrapper" to fake that if necessary
+		# see https://github.com/docker-library/postgres/pull/253, https://github.com/docker-library/postgres/issues/359, https://cwrap.org/nss_wrapper.html
+		if ! getent passwd "$(id -u)" &> /dev/null && [ -e /usr/lib/libnss_wrapper.so ]; then
+			export LD_PRELOAD='/usr/lib/libnss_wrapper.so'
+			export NSS_WRAPPER_PASSWD="$(mktemp)"
+			export NSS_WRAPPER_GROUP="$(mktemp)"
+			echo "postgres:x:$(id -u):$(id -g):PostgreSQL:$PGDATA:/bin/false" > "$NSS_WRAPPER_PASSWD"
+			echo "postgres:x:$(id -g):" > "$NSS_WRAPPER_GROUP"
+		fi
+
 		file_env 'POSTGRES_INITDB_ARGS'
 		if [ "$POSTGRES_INITDB_XLOGDIR" ]; then
 			export POSTGRES_INITDB_ARGS="$POSTGRES_INITDB_ARGS --xlogdir $POSTGRES_INITDB_XLOGDIR"
 		fi
 		eval "initdb --username=postgres $POSTGRES_INITDB_ARGS"
 
+		# unset/cleanup "nss_wrapper" bits
+		if [ "${LD_PRELOAD:-}" = '/usr/lib/libnss_wrapper.so' ]; then
+			rm -f "$NSS_WRAPPER_PASSWD" "$NSS_WRAPPER_GROUP"
+			unset LD_PRELOAD NSS_WRAPPER_PASSWD NSS_WRAPPER_GROUP
+		fi
+
 		# check password first so we can output the warning before postgres
 		# messes it up
 		file_env 'POSTGRES_PASSWORD'
diff --git a/postgres_9/Dockerfile b/postgres_9/Dockerfile
index a7efa98..77907db 100644
--- a/postgres_9/Dockerfile
+++ b/postgres_9/Dockerfile
@@ -40,6 +40,14 @@ RUN set -eux; \
 	localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
 ENV LANG en_US.utf8
 
+# install "nss_wrapper" in case we need to fake "/etc/passwd" and "/etc/group" (especially for OpenShift)
+# https://github.com/docker-library/postgres/issues/359
+# https://cwrap.org/nss_wrapper.html
+RUN set -eux; \
+	apt-get update; \
+	apt-get install -y --no-install-recommends libnss-wrapper; \
+	rm -rf /var/lib/apt/lists/*
+
 RUN mkdir /docker-entrypoint-initdb.d
 
 RUN set -ex; \
diff --git a/postgres_9/docker-entrypoint.sh b/postgres_9/docker-entrypoint.sh
index bc13289..fbac223 100755
--- a/postgres_9/docker-entrypoint.sh
+++ b/postgres_9/docker-entrypoint.sh
@@ -1,5 +1,6 @@
 #!/usr/bin/env bash
-set -e
+set -Eeo pipefail
+# TODO swap to -Eeuo pipefail above (after handling all potentially-unset variables)
 
 # usage: file_env VAR [DEFAULT]
 #    ie: file_env 'XYZ_DB_PASSWORD' 'example'
@@ -54,12 +55,28 @@ if [ "$1" = 'postgres' ]; then
 
 	# look specifically for PG_VERSION, as it is expected in the DB dir
 	if [ ! -s "$PGDATA/PG_VERSION" ]; then
+		# "initdb" is particular about the current user existing in "/etc/passwd", so we use "nss_wrapper" to fake that if necessary
+		# see https://github.com/docker-library/postgres/pull/253, https://github.com/docker-library/postgres/issues/359, https://cwrap.org/nss_wrapper.html
+		if ! getent passwd "$(id -u)" &> /dev/null && [ -e /usr/lib/libnss_wrapper.so ]; then
+			export LD_PRELOAD='/usr/lib/libnss_wrapper.so'
+			export NSS_WRAPPER_PASSWD="$(mktemp)"
+			export NSS_WRAPPER_GROUP="$(mktemp)"
+			echo "postgres:x:$(id -u):$(id -g):PostgreSQL:$PGDATA:/bin/false" > "$NSS_WRAPPER_PASSWD"
+			echo "postgres:x:$(id -g):" > "$NSS_WRAPPER_GROUP"
+		fi
+
 		file_env 'POSTGRES_INITDB_ARGS'
 		if [ "$POSTGRES_INITDB_XLOGDIR" ]; then
 			export POSTGRES_INITDB_ARGS="$POSTGRES_INITDB_ARGS --xlogdir $POSTGRES_INITDB_XLOGDIR"
 		fi
 		eval "initdb --username=postgres $POSTGRES_INITDB_ARGS"
 
+		# unset/cleanup "nss_wrapper" bits
+		if [ "${LD_PRELOAD:-}" = '/usr/lib/libnss_wrapper.so' ]; then
+			rm -f "$NSS_WRAPPER_PASSWD" "$NSS_WRAPPER_GROUP"
+			unset LD_PRELOAD NSS_WRAPPER_PASSWD NSS_WRAPPER_GROUP
+		fi
+
 		# check password first so we can output the warning before postgres
 		# messes it up
 		file_env 'POSTGRES_PASSWORD'
diff --git a/postgres_alpine/docker-entrypoint.sh b/postgres_alpine/docker-entrypoint.sh
index 5d66ba8..0b0daf8 100755
--- a/postgres_alpine/docker-entrypoint.sh
+++ b/postgres_alpine/docker-entrypoint.sh
@@ -1,5 +1,6 @@
 #!/usr/bin/env bash
-set -e
+set -Eeo pipefail
+# TODO swap to -Eeuo pipefail above (after handling all potentially-unset variables)
 
 # usage: file_env VAR [DEFAULT]
 #    ie: file_env 'XYZ_DB_PASSWORD' 'example'
@@ -54,12 +55,28 @@ if [ "$1" = 'postgres' ]; then
 
 	# look specifically for PG_VERSION, as it is expected in the DB dir
 	if [ ! -s "$PGDATA/PG_VERSION" ]; then
+		# "initdb" is particular about the current user existing in "/etc/passwd", so we use "nss_wrapper" to fake that if necessary
+		# see https://github.com/docker-library/postgres/pull/253, https://github.com/docker-library/postgres/issues/359, https://cwrap.org/nss_wrapper.html
+		if ! getent passwd "$(id -u)" &> /dev/null && [ -e /usr/lib/libnss_wrapper.so ]; then
+			export LD_PRELOAD='/usr/lib/libnss_wrapper.so'
+			export NSS_WRAPPER_PASSWD="$(mktemp)"
+			export NSS_WRAPPER_GROUP="$(mktemp)"
+			echo "postgres:x:$(id -u):$(id -g):PostgreSQL:$PGDATA:/bin/false" > "$NSS_WRAPPER_PASSWD"
+			echo "postgres:x:$(id -g):" > "$NSS_WRAPPER_GROUP"
+		fi
+
 		file_env 'POSTGRES_INITDB_ARGS'
 		if [ "$POSTGRES_INITDB_WALDIR" ]; then
 			export POSTGRES_INITDB_ARGS="$POSTGRES_INITDB_ARGS --waldir $POSTGRES_INITDB_WALDIR"
 		fi
 		eval "initdb --username=postgres $POSTGRES_INITDB_ARGS"
 
+		# unset/cleanup "nss_wrapper" bits
+		if [ "${LD_PRELOAD:-}" = '/usr/lib/libnss_wrapper.so' ]; then
+			rm -f "$NSS_WRAPPER_PASSWD" "$NSS_WRAPPER_GROUP"
+			unset LD_PRELOAD NSS_WRAPPER_PASSWD NSS_WRAPPER_GROUP
+		fi
+
 		# check password first so we can output the warning before postgres
 		# messes it up
 		file_env 'POSTGRES_PASSWORD'
diff --git a/postgres_latest/Dockerfile b/postgres_latest/Dockerfile
index 247e73c..a762439 100644
--- a/postgres_latest/Dockerfile
+++ b/postgres_latest/Dockerfile
@@ -40,6 +40,14 @@ RUN set -eux; \
 	localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
 ENV LANG en_US.utf8
 
+# install "nss_wrapper" in case we need to fake "/etc/passwd" and "/etc/group" (especially for OpenShift)
+# https://github.com/docker-library/postgres/issues/359
+# https://cwrap.org/nss_wrapper.html
+RUN set -eux; \
+	apt-get update; \
+	apt-get install -y --no-install-recommends libnss-wrapper; \
+	rm -rf /var/lib/apt/lists/*
+
 RUN mkdir /docker-entrypoint-initdb.d
 
 RUN set -ex; \
diff --git a/postgres_latest/docker-entrypoint.sh b/postgres_latest/docker-entrypoint.sh
index 000967a..ecd7458 100755
--- a/postgres_latest/docker-entrypoint.sh
+++ b/postgres_latest/docker-entrypoint.sh
@@ -1,5 +1,6 @@
 #!/usr/bin/env bash
-set -e
+set -Eeo pipefail
+# TODO swap to -Eeuo pipefail above (after handling all potentially-unset variables)
 
 # usage: file_env VAR [DEFAULT]
 #    ie: file_env 'XYZ_DB_PASSWORD' 'example'
@@ -54,12 +55,28 @@ if [ "$1" = 'postgres' ]; then
 
 	# look specifically for PG_VERSION, as it is expected in the DB dir
 	if [ ! -s "$PGDATA/PG_VERSION" ]; then
+		# "initdb" is particular about the current user existing in "/etc/passwd", so we use "nss_wrapper" to fake that if necessary
+		# see https://github.com/docker-library/postgres/pull/253, https://github.com/docker-library/postgres/issues/359, https://cwrap.org/nss_wrapper.html
+		if ! getent passwd "$(id -u)" &> /dev/null && [ -e /usr/lib/libnss_wrapper.so ]; then
+			export LD_PRELOAD='/usr/lib/libnss_wrapper.so'
+			export NSS_WRAPPER_PASSWD="$(mktemp)"
+			export NSS_WRAPPER_GROUP="$(mktemp)"
+			echo "postgres:x:$(id -u):$(id -g):PostgreSQL:$PGDATA:/bin/false" > "$NSS_WRAPPER_PASSWD"
+			echo "postgres:x:$(id -g):" > "$NSS_WRAPPER_GROUP"
+		fi
+
 		file_env 'POSTGRES_INITDB_ARGS'
 		if [ "$POSTGRES_INITDB_WALDIR" ]; then
 			export POSTGRES_INITDB_ARGS="$POSTGRES_INITDB_ARGS --waldir $POSTGRES_INITDB_WALDIR"
 		fi
 		eval "initdb --username=postgres $POSTGRES_INITDB_ARGS"
 
+		# unset/cleanup "nss_wrapper" bits
+		if [ "${LD_PRELOAD:-}" = '/usr/lib/libnss_wrapper.so' ]; then
+			rm -f "$NSS_WRAPPER_PASSWD" "$NSS_WRAPPER_GROUP"
+			unset LD_PRELOAD NSS_WRAPPER_PASSWD NSS_WRAPPER_GROUP
+		fi
+
 		# check password first so we can output the warning before postgres
 		# messes it up
 		file_env 'POSTGRES_PASSWORD'
diff --git a/redmine_3.2-passenger/Dockerfile b/redmine_3.2-passenger/Dockerfile
deleted file mode 100644
index ba793dc..0000000
diff --git a/redmine_3.2/Dockerfile b/redmine_3.2/Dockerfile
deleted file mode 100644
index 4d90f81..0000000
diff --git a/redmine_3.2/docker-entrypoint.sh b/redmine_3.2/docker-entrypoint.sh
deleted file mode 100755
index e0a4ff5..0000000
diff --git a/redmine_3.3/Dockerfile b/redmine_3.3/Dockerfile
index f3dd906..9559deb 100644
--- a/redmine_3.3/Dockerfile
+++ b/redmine_3.3/Dockerfile
@@ -1,4 +1,4 @@
-FROM ruby:2.2-slim
+FROM ruby:2.3-slim-jessie
 
 # add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
 RUN groupadd -r redmine && useradd -r -g redmine redmine
@@ -33,11 +33,6 @@ RUN set -x \
 	&& tini -h
 
 RUN apt-get update && apt-get install -y --no-install-recommends \
-		imagemagick \
-		libmysqlclient18 \
-		libpq5 \
-		libsqlite3-0 \
-		\
 		bzr \
 		git \
 		mercurial \
@@ -58,7 +53,12 @@ RUN wget -O redmine.tar.gz "https://www.redmine.org/releases/redmine-${REDMINE_V
 	&& mkdir -p tmp/pdf public/plugin_assets \
 	&& chown -R redmine:redmine ./
 
-RUN buildDeps=' \
+RUN set -eux; \
+	\
+	savedAptMark="$(apt-mark showmanual)"; \
+	apt-get update; \
+	apt-get install -y --no-install-recommends \
+		freetds-dev \
 		gcc \
 		libmagickcore-dev \
 		libmagickwand-dev \
@@ -67,20 +67,31 @@ RUN buildDeps=' \
 		libsqlite3-dev \
 		make \
 		patch \
-	' \
-	&& set -ex \
-	&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
-	&& rm -rf /var/lib/apt/lists/* \
-	&& bundle install --without development test \
-	&& for adapter in mysql2 postgresql sqlserver sqlite3; do \
+	; \
+	rm -rf /var/lib/apt/lists/*; \
+	\
+	bundle install --without development test; \
+	for adapter in mysql2 postgresql sqlserver sqlite3; do \
 		echo "$RAILS_ENV:" > ./config/database.yml; \
 		echo "  adapter: $adapter" >> ./config/database.yml; \
 		bundle install --without development test; \
 		cp Gemfile.lock "Gemfile.lock.${adapter}"; \
-	done \
-	&& rm ./config/database.yml \
-	&& apt-get purge -y --auto-remove $buildDeps
-
+	done; \
+	rm ./config/database.yml; \
+	\
+# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
+	apt-mark auto '.*' > /dev/null; \
+	[ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; \
+	find /usr/local -type f -executable -exec ldd '{}' ';' \
+		| awk '/=>/ { print $(NF-1) }' \
+		| sort -u \
+		| grep -v '^/usr/local/' \
+		| xargs -r dpkg-query --search \
+		| cut -d: -f1 \
+		| sort -u \
+		| xargs -r apt-mark manual \
+	; \
+	apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false
 
 VOLUME /usr/src/redmine/files
 
diff --git a/redmine_latest/Dockerfile b/redmine_latest/Dockerfile
index a03ed64..73e24be 100644
--- a/redmine_latest/Dockerfile
+++ b/redmine_latest/Dockerfile
@@ -1,4 +1,4 @@
-FROM ruby:2.4-slim
+FROM ruby:2.4-slim-jessie
 
 # add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
 RUN groupadd -r redmine && useradd -r -g redmine redmine
@@ -33,11 +33,6 @@ RUN set -x \
 	&& tini -h
 
 RUN apt-get update && apt-get install -y --no-install-recommends \
-		imagemagick \
-		libmysqlclient18 \
-		libpq5 \
-		libsqlite3-0 \
-		\
 		bzr \
 		git \
 		mercurial \
@@ -58,7 +53,12 @@ RUN wget -O redmine.tar.gz "https://www.redmine.org/releases/redmine-${REDMINE_V
 	&& mkdir -p tmp/pdf public/plugin_assets \
 	&& chown -R redmine:redmine ./
 
-RUN buildDeps=' \
+RUN set -eux; \
+	\
+	savedAptMark="$(apt-mark showmanual)"; \
+	apt-get update; \
+	apt-get install -y --no-install-recommends \
+		freetds-dev \
 		gcc \
 		libmagickcore-dev \
 		libmagickwand-dev \
@@ -67,20 +67,31 @@ RUN buildDeps=' \
 		libsqlite3-dev \
 		make \
 		patch \
-	' \
-	&& set -ex \
-	&& apt-get update && apt-get install -y $buildDeps --no-install-recommends \
-	&& rm -rf /var/lib/apt/lists/* \
-	&& bundle install --without development test \
-	&& for adapter in mysql2 postgresql sqlserver sqlite3; do \
+	; \
+	rm -rf /var/lib/apt/lists/*; \
+	\
+	bundle install --without development test; \
+	for adapter in mysql2 postgresql sqlserver sqlite3; do \
 		echo "$RAILS_ENV:" > ./config/database.yml; \
 		echo "  adapter: $adapter" >> ./config/database.yml; \
 		bundle install --without development test; \
 		cp Gemfile.lock "Gemfile.lock.${adapter}"; \
-	done \
-	&& rm ./config/database.yml \
-	&& apt-get purge -y --auto-remove $buildDeps
-
+	done; \
+	rm ./config/database.yml; \
+	\
+# reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
+	apt-mark auto '.*' > /dev/null; \
+	[ -z "$savedAptMark" ] || apt-mark manual $savedAptMark; \
+	find /usr/local -type f -executable -exec ldd '{}' ';' \
+		| awk '/=>/ { print $(NF-1) }' \
+		| sort -u \
+		| grep -v '^/usr/local/' \
+		| xargs -r dpkg-query --search \
+		| cut -d: -f1 \
+		| sort -u \
+		| xargs -r apt-mark manual \
+	; \
+	apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false
 
 VOLUME /usr/src/redmine/files
 
diff --git a/wordpress_cli-php5.6/Dockerfile b/wordpress_cli-php5.6/Dockerfile
index 2ec08af..9f1b4c3 100644
--- a/wordpress_cli-php5.6/Dockerfile
+++ b/wordpress_cli-php5.6/Dockerfile
@@ -9,7 +9,7 @@ RUN set -ex; \
 	; \
 	\
 	docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
-	docker-php-ext-install gd mysqli opcache; \
+	docker-php-ext-install gd mysqli opcache zip; \
 	\
 	runDeps="$( \
 		scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
diff --git a/wordpress_cli-php7.0/Dockerfile b/wordpress_cli-php7.0/Dockerfile
index afcf73b..9925308 100644
--- a/wordpress_cli-php7.0/Dockerfile
+++ b/wordpress_cli-php7.0/Dockerfile
@@ -9,7 +9,7 @@ RUN set -ex; \
 	; \
 	\
 	docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
-	docker-php-ext-install gd mysqli opcache; \
+	docker-php-ext-install gd mysqli opcache zip; \
 	\
 	runDeps="$( \
 		scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
diff --git a/wordpress_cli-php7.1/Dockerfile b/wordpress_cli-php7.1/Dockerfile
index e0fed7f..6d6df49 100644
--- a/wordpress_cli-php7.1/Dockerfile
+++ b/wordpress_cli-php7.1/Dockerfile
@@ -9,7 +9,7 @@ RUN set -ex; \
 	; \
 	\
 	docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
-	docker-php-ext-install gd mysqli opcache; \
+	docker-php-ext-install gd mysqli opcache zip; \
 	\
 	runDeps="$( \
 		scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
diff --git a/wordpress_cli-php7.2/Dockerfile b/wordpress_cli-php7.2/Dockerfile
index e033656..7bcb5f4 100644
--- a/wordpress_cli-php7.2/Dockerfile
+++ b/wordpress_cli-php7.2/Dockerfile
@@ -9,7 +9,7 @@ RUN set -ex; \
 	; \
 	\
 	docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
-	docker-php-ext-install gd mysqli opcache; \
+	docker-php-ext-install gd mysqli opcache zip; \
 	\
 	runDeps="$( \
 		scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
diff --git a/wordpress_php5.6-fpm-alpine/Dockerfile b/wordpress_php5.6-fpm-alpine/Dockerfile
index b48afc3..34afebf 100644
--- a/wordpress_php5.6-fpm-alpine/Dockerfile
+++ b/wordpress_php5.6-fpm-alpine/Dockerfile
@@ -16,7 +16,7 @@ RUN set -ex; \
 	; \
 	\
 	docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
-	docker-php-ext-install gd mysqli opcache; \
+	docker-php-ext-install gd mysqli opcache zip; \
 	\
 	runDeps="$( \
 		scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
diff --git a/wordpress_php5.6-fpm/Dockerfile b/wordpress_php5.6-fpm/Dockerfile
index cf6e22c..654ed44 100644
--- a/wordpress_php5.6-fpm/Dockerfile
+++ b/wordpress_php5.6-fpm/Dockerfile
@@ -12,7 +12,7 @@ RUN set -ex; \
 	; \
 	\
 	docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
-	docker-php-ext-install gd mysqli opcache; \
+	docker-php-ext-install gd mysqli opcache zip; \
 	\
 # reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
 	apt-mark auto '.*' > /dev/null; \
diff --git a/wordpress_php5.6/Dockerfile b/wordpress_php5.6/Dockerfile
index a2cca4e..aaa8d59 100644
--- a/wordpress_php5.6/Dockerfile
+++ b/wordpress_php5.6/Dockerfile
@@ -12,7 +12,7 @@ RUN set -ex; \
 	; \
 	\
 	docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
-	docker-php-ext-install gd mysqli opcache; \
+	docker-php-ext-install gd mysqli opcache zip; \
 	\
 # reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
 	apt-mark auto '.*' > /dev/null; \
diff --git a/wordpress_php7.0-fpm-alpine/Dockerfile b/wordpress_php7.0-fpm-alpine/Dockerfile
index d508fc2..38a6f8f 100644
--- a/wordpress_php7.0-fpm-alpine/Dockerfile
+++ b/wordpress_php7.0-fpm-alpine/Dockerfile
@@ -16,7 +16,7 @@ RUN set -ex; \
 	; \
 	\
 	docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
-	docker-php-ext-install gd mysqli opcache; \
+	docker-php-ext-install gd mysqli opcache zip; \
 	\
 	runDeps="$( \
 		scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
diff --git a/wordpress_php7.0-fpm/Dockerfile b/wordpress_php7.0-fpm/Dockerfile
index e93aaf2..48403bd 100644
--- a/wordpress_php7.0-fpm/Dockerfile
+++ b/wordpress_php7.0-fpm/Dockerfile
@@ -12,7 +12,7 @@ RUN set -ex; \
 	; \
 	\
 	docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
-	docker-php-ext-install gd mysqli opcache; \
+	docker-php-ext-install gd mysqli opcache zip; \
 	\
 # reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
 	apt-mark auto '.*' > /dev/null; \
diff --git a/wordpress_php7.0/Dockerfile b/wordpress_php7.0/Dockerfile
index be03f12..a3f368b 100644
--- a/wordpress_php7.0/Dockerfile
+++ b/wordpress_php7.0/Dockerfile
@@ -12,7 +12,7 @@ RUN set -ex; \
 	; \
 	\
 	docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
-	docker-php-ext-install gd mysqli opcache; \
+	docker-php-ext-install gd mysqli opcache zip; \
 	\
 # reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
 	apt-mark auto '.*' > /dev/null; \
diff --git a/wordpress_php7.1-fpm-alpine/Dockerfile b/wordpress_php7.1-fpm-alpine/Dockerfile
index 315cf7d..62e2ef0 100644
--- a/wordpress_php7.1-fpm-alpine/Dockerfile
+++ b/wordpress_php7.1-fpm-alpine/Dockerfile
@@ -16,7 +16,7 @@ RUN set -ex; \
 	; \
 	\
 	docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
-	docker-php-ext-install gd mysqli opcache; \
+	docker-php-ext-install gd mysqli opcache zip; \
 	\
 	runDeps="$( \
 		scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
diff --git a/wordpress_php7.1-fpm/Dockerfile b/wordpress_php7.1-fpm/Dockerfile
index 2d270ae..50ed9a3 100644
--- a/wordpress_php7.1-fpm/Dockerfile
+++ b/wordpress_php7.1-fpm/Dockerfile
@@ -12,7 +12,7 @@ RUN set -ex; \
 	; \
 	\
 	docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
-	docker-php-ext-install gd mysqli opcache; \
+	docker-php-ext-install gd mysqli opcache zip; \
 	\
 # reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
 	apt-mark auto '.*' > /dev/null; \
diff --git a/wordpress_php7.1/Dockerfile b/wordpress_php7.1/Dockerfile
index 359fe30..82a1105 100644
--- a/wordpress_php7.1/Dockerfile
+++ b/wordpress_php7.1/Dockerfile
@@ -12,7 +12,7 @@ RUN set -ex; \
 	; \
 	\
 	docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
-	docker-php-ext-install gd mysqli opcache; \
+	docker-php-ext-install gd mysqli opcache zip; \
 	\
 # reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
 	apt-mark auto '.*' > /dev/null; \
diff --git a/wordpress_php7.2-fpm-alpine/Dockerfile b/wordpress_php7.2-fpm-alpine/Dockerfile
index 8bce816..109c8a2 100644
--- a/wordpress_php7.2-fpm-alpine/Dockerfile
+++ b/wordpress_php7.2-fpm-alpine/Dockerfile
@@ -16,7 +16,7 @@ RUN set -ex; \
 	; \
 	\
 	docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
-	docker-php-ext-install gd mysqli opcache; \
+	docker-php-ext-install gd mysqli opcache zip; \
 	\
 	runDeps="$( \
 		scanelf --needed --nobanner --format '%n#p' --recursive /usr/local/lib/php/extensions \
diff --git a/wordpress_php7.2-fpm/Dockerfile b/wordpress_php7.2-fpm/Dockerfile
index ac290c3..03af2c1 100644
--- a/wordpress_php7.2-fpm/Dockerfile
+++ b/wordpress_php7.2-fpm/Dockerfile
@@ -12,7 +12,7 @@ RUN set -ex; \
 	; \
 	\
 	docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
-	docker-php-ext-install gd mysqli opcache; \
+	docker-php-ext-install gd mysqli opcache zip; \
 	\
 # reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
 	apt-mark auto '.*' > /dev/null; \
diff --git a/wordpress_php7.2/Dockerfile b/wordpress_php7.2/Dockerfile
index 51ec302..20bd0cb 100644
--- a/wordpress_php7.2/Dockerfile
+++ b/wordpress_php7.2/Dockerfile
@@ -12,7 +12,7 @@ RUN set -ex; \
 	; \
 	\
 	docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
-	docker-php-ext-install gd mysqli opcache; \
+	docker-php-ext-install gd mysqli opcache zip; \
 	\
 # reset apt-mark's "manual" list so that "purge --auto-remove" will remove all build dependencies
 	apt-mark auto '.*' > /dev/null; \

@tianon
Copy link
Member Author

tianon commented May 25, 2018

Build test of #4396; 1d7fbe1; amd64 (mariadb, memcached, php, postgres, redmine, wordpress):

$ bashbrew build mariadb:10.3.7
Building bashbrew/cache:f05f96204b8ca3aafbb6a52602f7ba7ebb2705287bb7408d7babe8d4c5acf09e (mariadb:10.3.7)
Tagging mariadb:10.3.7
Tagging mariadb:10.3

$ test/run.sh mariadb:10.3.7
testing mariadb:10.3.7
	'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.15
Using bashbrew/cache:b371fd5eccc3f16a8f448a731aef38ed00655cc18481ca03ce44fec427500287 (mariadb:10.2.15)
Tagging mariadb:10.2.15
Tagging mariadb:10.2
Tagging mariadb:10
Tagging mariadb:latest

$ test/run.sh mariadb:10.2.15
testing mariadb:10.2.15
	'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.33
Using bashbrew/cache:6f9fe1ecfc0350b7f742c5cacfd2e3fc79f63fb6438de98876eee79bb6e673a7 (mariadb:10.1.33)
Tagging mariadb:10.1.33
Tagging mariadb:10.1

$ test/run.sh mariadb:10.1.33
testing mariadb:10.1.33
	'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.35
Using bashbrew/cache:7eb0ad4ec70629e4d8ec7639f164e685f568c9f8ce93bf481df25326e19722d5 (mariadb:10.0.35)
Tagging mariadb:10.0.35
Tagging mariadb:10.0

$ test/run.sh mariadb:10.0.35
testing mariadb:10.0.35
	'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.60
Using bashbrew/cache:945c9649ec9ccc437edc58197ad273dac8541c412dba7a638bc90c0d77efed21 (mariadb:5.5.60)
Tagging mariadb:5.5.60
Tagging mariadb:5.5
Tagging mariadb:5

$ test/run.sh mariadb:5.5.60
testing mariadb:5.5.60
	'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 memcached:1.5.8
Building bashbrew/cache:3c1cfbb833d073702a90824188c0b88ab7f62dcb785b750250a537dc84f0d591 (memcached:1.5.8)
Tagging memcached:1.5.8
Tagging memcached:1.5
Tagging memcached:1
Tagging memcached:latest

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


$ bashbrew build memcached:1.5.8-alpine
Building bashbrew/cache:eee1bf251b874664ac1a53f1bd3baaec0d3ee3224a26f66cc2666516277c4a93 (memcached:1.5.8-alpine)
Tagging memcached:1.5.8-alpine
Tagging memcached:1.5-alpine
Tagging memcached:1-alpine
Tagging memcached:alpine

$ test/run.sh memcached:1.5.8-alpine
testing memcached:1.5.8-alpine
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'memcached-basics' [5/5]...passed
$ bashbrew build php:7.2.6-cli-stretch
Building bashbrew/cache:7bd3b2a252dd0a01edfa72929cfd08416515d5efa828e205a31c9c9479f1c2df (php:7.2.6-cli-stretch)
Tagging php:7.2.6-cli-stretch
Tagging php:7.2-cli-stretch
Tagging php:7-cli-stretch
Tagging php:cli-stretch
Tagging php:7.2.6-stretch
Tagging php:7.2-stretch
Tagging php:7-stretch
Tagging php:stretch
Tagging php:7.2.6-cli
Tagging php:7.2-cli
Tagging php:7-cli
Tagging php:cli
Tagging php:7.2.6
Tagging php:7.2
Tagging php:7
Tagging php:latest

$ test/run.sh php:7.2.6-cli-stretch
testing php:7.2.6-cli-stretch
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.2.6-apache-stretch
Building bashbrew/cache:0959d3cff0caf78a50d68e25e328d50095d0b970da9870614f2edd45c70f42a2 (php:7.2.6-apache-stretch)
Tagging php:7.2.6-apache-stretch
Tagging php:7.2-apache-stretch
Tagging php:7-apache-stretch
Tagging php:apache-stretch
Tagging php:7.2.6-apache
Tagging php:7.2-apache
Tagging php:7-apache
Tagging php:apache

$ test/run.sh php:7.2.6-apache-stretch
testing php:7.2.6-apache-stretch
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.2.6-fpm-stretch
Building bashbrew/cache:bbe0d341ee5733b2adbdc190bab07c2a5362807b80d60eb94e68417f029c2ee6 (php:7.2.6-fpm-stretch)
Tagging php:7.2.6-fpm-stretch
Tagging php:7.2-fpm-stretch
Tagging php:7-fpm-stretch
Tagging php:fpm-stretch
Tagging php:7.2.6-fpm
Tagging php:7.2-fpm
Tagging php:7-fpm
Tagging php:fpm

$ test/run.sh php:7.2.6-fpm-stretch
testing php:7.2.6-fpm-stretch
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'php-ext-install' [5/7]...passed
	'php-hello-world' [6/7]...passed
	'php-fpm-hello-web' [7/7]...passed


$ bashbrew build php:7.2.6-zts-stretch
Building bashbrew/cache:195180e0fa38ae8301abd5e80fd9e931f8311fc565b430cdf747ff679bab6047 (php:7.2.6-zts-stretch)
Tagging php:7.2.6-zts-stretch
Tagging php:7.2-zts-stretch
Tagging php:7-zts-stretch
Tagging php:zts-stretch
Tagging php:7.2.6-zts
Tagging php:7.2-zts
Tagging php:7-zts
Tagging php:zts

$ test/run.sh php:7.2.6-zts-stretch
testing php:7.2.6-zts-stretch
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.2.6-cli-alpine3.7
Building bashbrew/cache:7d33a9fd636ce005eeee8b63501653cc71b2b2fb9d338b27447adfb3932132ff (php:7.2.6-cli-alpine3.7)
Tagging php:7.2.6-cli-alpine3.7
Tagging php:7.2-cli-alpine3.7
Tagging php:7-cli-alpine3.7
Tagging php:cli-alpine3.7
Tagging php:7.2.6-alpine3.7
Tagging php:7.2-alpine3.7
Tagging php:7-alpine3.7
Tagging php:alpine3.7
Tagging php:7.2.6-cli-alpine
Tagging php:7.2-cli-alpine
Tagging php:7-cli-alpine
Tagging php:cli-alpine
Tagging php:7.2.6-alpine
Tagging php:7.2-alpine
Tagging php:7-alpine
Tagging php:alpine

$ test/run.sh php:7.2.6-cli-alpine3.7
testing php:7.2.6-cli-alpine3.7
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.2.6-fpm-alpine3.7
Building bashbrew/cache:139e2ada71f6aeae054cd0f60b575db3fdf29f0793b8060a94e3d4b7dc545cca (php:7.2.6-fpm-alpine3.7)
Tagging php:7.2.6-fpm-alpine3.7
Tagging php:7.2-fpm-alpine3.7
Tagging php:7-fpm-alpine3.7
Tagging php:fpm-alpine3.7
Tagging php:7.2.6-fpm-alpine
Tagging php:7.2-fpm-alpine
Tagging php:7-fpm-alpine
Tagging php:fpm-alpine

$ test/run.sh php:7.2.6-fpm-alpine3.7
testing php:7.2.6-fpm-alpine3.7
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'php-ext-install' [5/7]...passed
	'php-hello-world' [6/7]...passed
	'php-fpm-hello-web' [7/7]...passed


$ bashbrew build php:7.2.6-zts-alpine3.7
Building bashbrew/cache:6687dee3bc14a2c2d4f6ebd5aa3786f445edf2ca9e93f95274c4059f69d87ea5 (php:7.2.6-zts-alpine3.7)
Tagging php:7.2.6-zts-alpine3.7
Tagging php:7.2-zts-alpine3.7
Tagging php:7-zts-alpine3.7
Tagging php:zts-alpine3.7
Tagging php:7.2.6-zts-alpine
Tagging php:7.2-zts-alpine
Tagging php:7-zts-alpine
Tagging php:zts-alpine

$ test/run.sh php:7.2.6-zts-alpine3.7
testing php:7.2.6-zts-alpine3.7
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.2.6-cli-alpine3.6
Building bashbrew/cache:d164602bfed534ac8db8f2246689933232ace9629b0ef122b87953833e88dde9 (php:7.2.6-cli-alpine3.6)
Tagging php:7.2.6-cli-alpine3.6
Tagging php:7.2-cli-alpine3.6
Tagging php:7-cli-alpine3.6
Tagging php:cli-alpine3.6
Tagging php:7.2.6-alpine3.6
Tagging php:7.2-alpine3.6
Tagging php:7-alpine3.6
Tagging php:alpine3.6

$ test/run.sh php:7.2.6-cli-alpine3.6
testing php:7.2.6-cli-alpine3.6
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.2.6-fpm-alpine3.6
Building bashbrew/cache:5aa2ac5caea074f0451800cb13aec27ffd391e5ae84ac01c434772f6c0504d2d (php:7.2.6-fpm-alpine3.6)
Tagging php:7.2.6-fpm-alpine3.6
Tagging php:7.2-fpm-alpine3.6
Tagging php:7-fpm-alpine3.6
Tagging php:fpm-alpine3.6

$ test/run.sh php:7.2.6-fpm-alpine3.6
testing php:7.2.6-fpm-alpine3.6
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'php-ext-install' [5/7]...passed
	'php-hello-world' [6/7]...passed
	'php-fpm-hello-web' [7/7]...passed


$ bashbrew build php:7.2.6-zts-alpine3.6
Building bashbrew/cache:ea8307d001a96b988c59b8db6fd1e1361827575558e6c814f9edb7c23decc12c (php:7.2.6-zts-alpine3.6)
Tagging php:7.2.6-zts-alpine3.6
Tagging php:7.2-zts-alpine3.6
Tagging php:7-zts-alpine3.6
Tagging php:zts-alpine3.6

$ test/run.sh php:7.2.6-zts-alpine3.6
testing php:7.2.6-zts-alpine3.6
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.1.17-cli-stretch
Using bashbrew/cache:3a4f8cc32ae42f8674ca866d3cb77d31c7921b0930b9825fad4579acdb70d758 (php:7.1.17-cli-stretch)
Tagging php:7.1.17-cli-stretch
Tagging php:7.1-cli-stretch
Tagging php:7.1.17-stretch
Tagging php:7.1-stretch
Tagging php:7.1.17-cli
Tagging php:7.1-cli
Tagging php:7.1.17
Tagging php:7.1

$ test/run.sh php:7.1.17-cli-stretch
testing php:7.1.17-cli-stretch
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.1.17-apache-stretch
Using bashbrew/cache:fd9d842cc7520de7ed306d1a20c6bcf62effd71e83ec667ed196d71c7d627ee1 (php:7.1.17-apache-stretch)
Tagging php:7.1.17-apache-stretch
Tagging php:7.1-apache-stretch
Tagging php:7.1.17-apache
Tagging php:7.1-apache

$ test/run.sh php:7.1.17-apache-stretch
testing php:7.1.17-apache-stretch
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.1.17-fpm-stretch
Using bashbrew/cache:a8414c6fd457b0f2b1268fca0fa17a706667fe4d433a9de366ae87cd5be0866e (php:7.1.17-fpm-stretch)
Tagging php:7.1.17-fpm-stretch
Tagging php:7.1-fpm-stretch
Tagging php:7.1.17-fpm
Tagging php:7.1-fpm

$ test/run.sh php:7.1.17-fpm-stretch
testing php:7.1.17-fpm-stretch
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'php-ext-install' [5/7]...passed
	'php-hello-world' [6/7]...passed
	'php-fpm-hello-web' [7/7]...passed


$ bashbrew build php:7.1.17-zts-stretch
Using bashbrew/cache:ebb2defc77ac9689e5632983e22e1c1bb30b887bed30a7fae4ce44cf442d4e08 (php:7.1.17-zts-stretch)
Tagging php:7.1.17-zts-stretch
Tagging php:7.1-zts-stretch
Tagging php:7.1.17-zts
Tagging php:7.1-zts

$ test/run.sh php:7.1.17-zts-stretch
testing php:7.1.17-zts-stretch
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.1.17-cli-jessie
Using bashbrew/cache:597eb2db004efd9881522034774ebe031837fbad5b41b430c9e2cd251f6993ea (php:7.1.17-cli-jessie)
Tagging php:7.1.17-cli-jessie
Tagging php:7.1-cli-jessie
Tagging php:7.1.17-jessie
Tagging php:7.1-jessie

$ test/run.sh php:7.1.17-cli-jessie
testing php:7.1.17-cli-jessie
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.1.17-apache-jessie
Using bashbrew/cache:4ac02507892fb026e9ac687889f211816d76931097e7a457c87f70bbd4392763 (php:7.1.17-apache-jessie)
Tagging php:7.1.17-apache-jessie
Tagging php:7.1-apache-jessie

$ test/run.sh php:7.1.17-apache-jessie
testing php:7.1.17-apache-jessie
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.1.17-fpm-jessie
Using bashbrew/cache:2973568a286bded626acb7c7d14f41b6196a7432ba1584fe742c1c1eff7d6eaa (php:7.1.17-fpm-jessie)
Tagging php:7.1.17-fpm-jessie
Tagging php:7.1-fpm-jessie

$ test/run.sh php:7.1.17-fpm-jessie
testing php:7.1.17-fpm-jessie
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'php-ext-install' [5/7]...passed
	'php-hello-world' [6/7]...passed
	'php-fpm-hello-web' [7/7]...passed


$ bashbrew build php:7.1.17-zts-jessie
Using bashbrew/cache:c0ff5991d0e40077ee63ada4add101716c36f879752af1a210494a99b5d3ef46 (php:7.1.17-zts-jessie)
Tagging php:7.1.17-zts-jessie
Tagging php:7.1-zts-jessie

$ test/run.sh php:7.1.17-zts-jessie
testing php:7.1.17-zts-jessie
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.1.17-cli-alpine3.7
Using bashbrew/cache:0fd4d397a45a2679b774e3fb2dab20cde77c903947091d5819d282fe1c184856 (php:7.1.17-cli-alpine3.7)
Tagging php:7.1.17-cli-alpine3.7
Tagging php:7.1-cli-alpine3.7
Tagging php:7.1.17-alpine3.7
Tagging php:7.1-alpine3.7
Tagging php:7.1.17-cli-alpine
Tagging php:7.1-cli-alpine
Tagging php:7.1.17-alpine
Tagging php:7.1-alpine

$ test/run.sh php:7.1.17-cli-alpine3.7
testing php:7.1.17-cli-alpine3.7
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.1.17-fpm-alpine3.7
Using bashbrew/cache:e81ad90b5b1876f54cea5483dd06baa5ea6854a32f0eceb54d39ff384862b1cb (php:7.1.17-fpm-alpine3.7)
Tagging php:7.1.17-fpm-alpine3.7
Tagging php:7.1-fpm-alpine3.7
Tagging php:7.1.17-fpm-alpine
Tagging php:7.1-fpm-alpine

$ test/run.sh php:7.1.17-fpm-alpine3.7
testing php:7.1.17-fpm-alpine3.7
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'php-ext-install' [5/7]...passed
	'php-hello-world' [6/7]...passed
	'php-fpm-hello-web' [7/7]...passed


$ bashbrew build php:7.1.17-zts-alpine3.7
Using bashbrew/cache:44bd20be5e46cfeda794976cd6f1ed33ebcb7e199c2279cb0d03f37e1a797734 (php:7.1.17-zts-alpine3.7)
Tagging php:7.1.17-zts-alpine3.7
Tagging php:7.1-zts-alpine3.7
Tagging php:7.1.17-zts-alpine
Tagging php:7.1-zts-alpine

$ test/run.sh php:7.1.17-zts-alpine3.7
testing php:7.1.17-zts-alpine3.7
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.0.30-cli-stretch
Using bashbrew/cache:8469144500c74019a2dde03be0cf39f28fa9b83a780643b1375fbce436a211a6 (php:7.0.30-cli-stretch)
Tagging php:7.0.30-cli-stretch
Tagging php:7.0-cli-stretch
Tagging php:7.0.30-stretch
Tagging php:7.0-stretch
Tagging php:7.0.30-cli
Tagging php:7.0-cli
Tagging php:7.0.30
Tagging php:7.0

$ test/run.sh php:7.0.30-cli-stretch
testing php:7.0.30-cli-stretch
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.0.30-apache-stretch
Using bashbrew/cache:ed6d4ad2a1cc709e1b9167e3ec95c44d812522bb0ee4f17d1b7e34938082294e (php:7.0.30-apache-stretch)
Tagging php:7.0.30-apache-stretch
Tagging php:7.0-apache-stretch
Tagging php:7.0.30-apache
Tagging php:7.0-apache

$ test/run.sh php:7.0.30-apache-stretch
testing php:7.0.30-apache-stretch
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.0.30-fpm-stretch
Using bashbrew/cache:82ec193cf66fedd43f8e2126fd607431e4075f3c7ea980da9972446ede512d9e (php:7.0.30-fpm-stretch)
Tagging php:7.0.30-fpm-stretch
Tagging php:7.0-fpm-stretch
Tagging php:7.0.30-fpm
Tagging php:7.0-fpm

$ test/run.sh php:7.0.30-fpm-stretch
testing php:7.0.30-fpm-stretch
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'php-ext-install' [5/7]...passed
	'php-hello-world' [6/7]...passed
	'php-fpm-hello-web' [7/7]...passed


$ bashbrew build php:7.0.30-zts-stretch
Using bashbrew/cache:1d5e5437fa20a8d5e42d2bba2897c0f84b8c3fc2b50d36dc0b34d7ca3fbcd421 (php:7.0.30-zts-stretch)
Tagging php:7.0.30-zts-stretch
Tagging php:7.0-zts-stretch
Tagging php:7.0.30-zts
Tagging php:7.0-zts

$ test/run.sh php:7.0.30-zts-stretch
testing php:7.0.30-zts-stretch
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.0.30-cli-jessie
Using bashbrew/cache:38ac391f8c8e55a3c5fe41f8d2c5d8a0f1427f2afdf104d8af1d2b009ea10d31 (php:7.0.30-cli-jessie)
Tagging php:7.0.30-cli-jessie
Tagging php:7.0-cli-jessie
Tagging php:7.0.30-jessie
Tagging php:7.0-jessie

$ test/run.sh php:7.0.30-cli-jessie
testing php:7.0.30-cli-jessie
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.0.30-apache-jessie
Using bashbrew/cache:527367cb649826dcd32fb4676be701574cad32b576e9f583cb1aa3cb3267bfad (php:7.0.30-apache-jessie)
Tagging php:7.0.30-apache-jessie
Tagging php:7.0-apache-jessie

$ test/run.sh php:7.0.30-apache-jessie
testing php:7.0.30-apache-jessie
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.0.30-fpm-jessie
Using bashbrew/cache:a9eb477278583cb66725977fc4a3294d7a0b8df0d7a97ef9d06f0b663f7e5882 (php:7.0.30-fpm-jessie)
Tagging php:7.0.30-fpm-jessie
Tagging php:7.0-fpm-jessie

$ test/run.sh php:7.0.30-fpm-jessie
testing php:7.0.30-fpm-jessie
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'php-ext-install' [5/7]...passed
	'php-hello-world' [6/7]...passed
	'php-fpm-hello-web' [7/7]...passed


$ bashbrew build php:7.0.30-zts-jessie
Using bashbrew/cache:bc2abfe9b90af575d3850300b06157d236d0679857f9f6a323f0909724278374 (php:7.0.30-zts-jessie)
Tagging php:7.0.30-zts-jessie
Tagging php:7.0-zts-jessie

$ test/run.sh php:7.0.30-zts-jessie
testing php:7.0.30-zts-jessie
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.0.30-cli-alpine3.7
Using bashbrew/cache:06c85dab0aadf32ab2b6f040c05cedf06fa47f7bf8f371b82e9722370caceba6 (php:7.0.30-cli-alpine3.7)
Tagging php:7.0.30-cli-alpine3.7
Tagging php:7.0-cli-alpine3.7
Tagging php:7.0.30-alpine3.7
Tagging php:7.0-alpine3.7
Tagging php:7.0.30-cli-alpine
Tagging php:7.0-cli-alpine
Tagging php:7.0.30-alpine
Tagging php:7.0-alpine

$ test/run.sh php:7.0.30-cli-alpine3.7
testing php:7.0.30-cli-alpine3.7
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:7.0.30-fpm-alpine3.7
Using bashbrew/cache:908822b8d162287aba27a89cbaddb40e2b23f1005993927b2093c3a60a0fe915 (php:7.0.30-fpm-alpine3.7)
Tagging php:7.0.30-fpm-alpine3.7
Tagging php:7.0-fpm-alpine3.7
Tagging php:7.0.30-fpm-alpine
Tagging php:7.0-fpm-alpine

$ test/run.sh php:7.0.30-fpm-alpine3.7
testing php:7.0.30-fpm-alpine3.7
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'php-ext-install' [5/7]...passed
	'php-hello-world' [6/7]...passed
	'php-fpm-hello-web' [7/7]...passed


$ bashbrew build php:7.0.30-zts-alpine3.7
Using bashbrew/cache:e641fae6e31e3dded68630234e89c4c6ef8452ac1453271a127d7d4f3dcbafbc (php:7.0.30-zts-alpine3.7)
Tagging php:7.0.30-zts-alpine3.7
Tagging php:7.0-zts-alpine3.7
Tagging php:7.0.30-zts-alpine
Tagging php:7.0-zts-alpine

$ test/run.sh php:7.0.30-zts-alpine3.7
testing php:7.0.30-zts-alpine3.7
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:5.6.36-cli-stretch
Using bashbrew/cache:485e9303bda8905270fd73e30bf2717f12d4319cba1b47276a1617d7ba1cec9d (php:5.6.36-cli-stretch)
Tagging php:5.6.36-cli-stretch
Tagging php:5.6-cli-stretch
Tagging php:5-cli-stretch
Tagging php:5.6.36-stretch
Tagging php:5.6-stretch
Tagging php:5-stretch
Tagging php:5.6.36-cli
Tagging php:5.6-cli
Tagging php:5-cli
Tagging php:5.6.36
Tagging php:5.6
Tagging php:5

$ test/run.sh php:5.6.36-cli-stretch
testing php:5.6.36-cli-stretch
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:5.6.36-apache-stretch
Using bashbrew/cache:3bcc4ea6f1c44a66259ab47611deb889fa6a5552e04e3a2fc159c89f6252835e (php:5.6.36-apache-stretch)
Tagging php:5.6.36-apache-stretch
Tagging php:5.6-apache-stretch
Tagging php:5-apache-stretch
Tagging php:5.6.36-apache
Tagging php:5.6-apache
Tagging php:5-apache

$ test/run.sh php:5.6.36-apache-stretch
testing php:5.6.36-apache-stretch
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:5.6.36-fpm-stretch
Using bashbrew/cache:ede795b2532c036d3c279ad508c8e5d7053a3bec4cc5e3703cc8b914deb32c09 (php:5.6.36-fpm-stretch)
Tagging php:5.6.36-fpm-stretch
Tagging php:5.6-fpm-stretch
Tagging php:5-fpm-stretch
Tagging php:5.6.36-fpm
Tagging php:5.6-fpm
Tagging php:5-fpm

$ test/run.sh php:5.6.36-fpm-stretch
testing php:5.6.36-fpm-stretch
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'php-ext-install' [5/7]...passed
	'php-hello-world' [6/7]...passed
	'php-fpm-hello-web' [7/7]...passed


$ bashbrew build php:5.6.36-zts-stretch
Using bashbrew/cache:f7717cc5e96ac75c9c45d2a367883001c36e7b775e22ae642501d2f8c9ea4d2d (php:5.6.36-zts-stretch)
Tagging php:5.6.36-zts-stretch
Tagging php:5.6-zts-stretch
Tagging php:5-zts-stretch
Tagging php:5.6.36-zts
Tagging php:5.6-zts
Tagging php:5-zts

$ test/run.sh php:5.6.36-zts-stretch
testing php:5.6.36-zts-stretch
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:5.6.36-cli-jessie
Using bashbrew/cache:13f31474d50afdd051a7b287af092db7946ea4d74480d52c6765fa2ac00ebfbf (php:5.6.36-cli-jessie)
Tagging php:5.6.36-cli-jessie
Tagging php:5.6-cli-jessie
Tagging php:5-cli-jessie
Tagging php:5.6.36-jessie
Tagging php:5.6-jessie
Tagging php:5-jessie

$ test/run.sh php:5.6.36-cli-jessie
testing php:5.6.36-cli-jessie
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:5.6.36-apache-jessie
Using bashbrew/cache:2f9f8ff341e3c1d4cba25c9aad2248f7fef9e15b339bd62a710fadfbbea4e70b (php:5.6.36-apache-jessie)
Tagging php:5.6.36-apache-jessie
Tagging php:5.6-apache-jessie
Tagging php:5-apache-jessie

$ test/run.sh php:5.6.36-apache-jessie
testing php:5.6.36-apache-jessie
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:5.6.36-fpm-jessie
Using bashbrew/cache:277f3581276f68cd5df91914091adbb55f9798c81d339f41cab46d717772d326 (php:5.6.36-fpm-jessie)
Tagging php:5.6.36-fpm-jessie
Tagging php:5.6-fpm-jessie
Tagging php:5-fpm-jessie

$ test/run.sh php:5.6.36-fpm-jessie
testing php:5.6.36-fpm-jessie
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'php-ext-install' [5/7]...passed
	'php-hello-world' [6/7]...passed
	'php-fpm-hello-web' [7/7]...passed


$ bashbrew build php:5.6.36-zts-jessie
Using bashbrew/cache:28d187384941a16c71b5ff5807f673c99af4218c9d672d437e5ca97951aed3f4 (php:5.6.36-zts-jessie)
Tagging php:5.6.36-zts-jessie
Tagging php:5.6-zts-jessie
Tagging php:5-zts-jessie

$ test/run.sh php:5.6.36-zts-jessie
testing php:5.6.36-zts-jessie
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:5.6.36-cli-alpine3.7
Using bashbrew/cache:d1a70e4ec581ce992af4d9e48639992d568dd394af0cea58341232451f00cdc3 (php:5.6.36-cli-alpine3.7)
Tagging php:5.6.36-cli-alpine3.7
Tagging php:5.6-cli-alpine3.7
Tagging php:5-cli-alpine3.7
Tagging php:5.6.36-alpine3.7
Tagging php:5.6-alpine3.7
Tagging php:5-alpine3.7
Tagging php:5.6.36-cli-alpine
Tagging php:5.6-cli-alpine
Tagging php:5-cli-alpine
Tagging php:5.6.36-alpine
Tagging php:5.6-alpine
Tagging php:5-alpine

$ test/run.sh php:5.6.36-cli-alpine3.7
testing php:5.6.36-cli-alpine3.7
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed


$ bashbrew build php:5.6.36-fpm-alpine3.7
Using bashbrew/cache:fb03f3eeec764b8352e9511a09d6f772267ca7cf705046aefb4580b5ac4d9275 (php:5.6.36-fpm-alpine3.7)
Tagging php:5.6.36-fpm-alpine3.7
Tagging php:5.6-fpm-alpine3.7
Tagging php:5-fpm-alpine3.7
Tagging php:5.6.36-fpm-alpine
Tagging php:5.6-fpm-alpine
Tagging php:5-fpm-alpine

$ test/run.sh php:5.6.36-fpm-alpine3.7
testing php:5.6.36-fpm-alpine3.7
	'utc' [1/7]...passed
	'cve-2014--shellshock' [2/7]...passed
	'no-hard-coded-passwords' [3/7]...passed
	'override-cmd' [4/7]...passed
	'php-ext-install' [5/7]...passed
	'php-hello-world' [6/7]...passed
	'php-fpm-hello-web' [7/7]...passed


$ bashbrew build php:5.6.36-zts-alpine3.7
Using bashbrew/cache:b14842e329741ab60c11b153188c599d2ed0ac87722b1fb999049cec3176c99d (php:5.6.36-zts-alpine3.7)
Tagging php:5.6.36-zts-alpine3.7
Tagging php:5.6-zts-alpine3.7
Tagging php:5-zts-alpine3.7
Tagging php:5.6.36-zts-alpine
Tagging php:5.6-zts-alpine
Tagging php:5-zts-alpine

$ test/run.sh php:5.6.36-zts-alpine3.7
testing php:5.6.36-zts-alpine3.7
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'php-ext-install' [5/6]...passed
	'php-hello-world' [6/6]...passed
$ bashbrew build postgres:10.4
Building bashbrew/cache:8d78ad0314932fc285717569cee94eac9f1bfad20ef1c2ebef84d3f3f843971e (postgres:10.4)
Tagging postgres:10.4
Tagging postgres:10
Tagging postgres:latest

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


$ bashbrew build postgres:10.4-alpine
Building bashbrew/cache:97a08b3bc6ad3bd750525ba310fa043463e77b15b80926cf47a0751abeed494a (postgres:10.4-alpine)
Tagging postgres:10.4-alpine
Tagging postgres:10-alpine
Tagging postgres:alpine

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


$ bashbrew build postgres:9.6.9
Building bashbrew/cache:3133d111c7ecf67306ce7a6dc39d2e670a19492255e6d69ed045e918c70ff473 (postgres:9.6.9)
Tagging postgres:9.6.9
Tagging postgres:9.6
Tagging postgres:9

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


$ bashbrew build postgres:9.6.9-alpine
Building bashbrew/cache:d8f3b1fa475859ac83353a2780a1ccd8719f8a0249c179c6f19e4a5aec13892b (postgres:9.6.9-alpine)
Tagging postgres:9.6.9-alpine
Tagging postgres:9.6-alpine
Tagging postgres:9-alpine

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


$ bashbrew build postgres:9.5.13
Building bashbrew/cache:d064204832279165182a34ec25275b0590104e4121684868f4130b5c03fcdc78 (postgres:9.5.13)
Tagging postgres:9.5.13
Tagging postgres:9.5

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


$ bashbrew build postgres:9.5.13-alpine
Building bashbrew/cache:fa51ed2d6f454b7bd100293b05385e3eb0d34ee6320c1996664722d534ac25bc (postgres:9.5.13-alpine)
Tagging postgres:9.5.13-alpine
Tagging postgres:9.5-alpine

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


$ bashbrew build postgres:9.4.18
Building bashbrew/cache:1ff1bbd3f5d6b5ab90f5871481732342d34bb4be1faf070a122dc567e5f1cedb (postgres:9.4.18)
Tagging postgres:9.4.18
Tagging postgres:9.4

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


$ bashbrew build postgres:9.4.18-alpine
Building bashbrew/cache:3ef3ac4c3cc83969546c85c735c9d05392b8118b385eb0b95158e91e6622eec1 (postgres:9.4.18-alpine)
Tagging postgres:9.4.18-alpine
Tagging postgres:9.4-alpine

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


$ bashbrew build postgres:9.3.23
Building bashbrew/cache:48d4b8ad41d7ad90e81b3af7db928622ff8636c7ec24908a3d3eb07a3bbc5cfa (postgres:9.3.23)
Tagging postgres:9.3.23
Tagging postgres:9.3

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


$ bashbrew build postgres:9.3.23-alpine
Building bashbrew/cache:0082556c7a8fcdf187f3ac0fac9c3afb1fcb40ad3fd47670f594e4995a0604e1 (postgres:9.3.23-alpine)
Tagging postgres:9.3.23-alpine
Tagging postgres:9.3-alpine

$ test/run.sh postgres:9.3.23-alpine
testing postgres:9.3.23-alpine
	'utc' [1/6]...passed
	'cve-2014--shellshock' [2/6]...passed
	'no-hard-coded-passwords' [3/6]...passed
	'override-cmd' [4/6]...passed
	'postgres-basics' [5/6].....passed
	'postgres-initdb' [6/6].....passed
$ bashbrew build redmine:3.4.5
Building bashbrew/cache:b7d87a4ee5e81b71070868aa6c61dbba767a1f5a6b04f4d30dc608720deb19c5 (redmine:3.4.5)
Tagging redmine:3.4.5
Tagging redmine:3.4
Tagging redmine:3
Tagging redmine:latest

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


$ bashbrew build redmine:3.4.5-passenger
Building bashbrew/cache:8362778b099fb02b732c13675668cc7a006bab2ab18a771c7d79022d1bc63a7e (redmine:3.4.5-passenger)
Tagging redmine:3.4.5-passenger
Tagging redmine:3.4-passenger
Tagging redmine:3-passenger
Tagging redmine:passenger

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


$ bashbrew build redmine:3.3.7
Building bashbrew/cache:340f04290da02bd3f327b59a8b318cb5b8a7562268bf4e8142af0e57b6295aa9 (redmine:3.3.7)
Tagging redmine:3.3.7
Tagging redmine:3.3

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


$ bashbrew build redmine:3.3.7-passenger
Building bashbrew/cache:542bceb4a90a2fbc6cebe52599751acca307fb41de7cc2b1e3692cb3f4a9b5f5 (redmine:3.3.7-passenger)
Tagging redmine:3.3.7-passenger
Tagging redmine:3.3-passenger

$ test/run.sh redmine:3.3.7-passenger
testing redmine:3.3.7-passenger
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'redmine-basics' [5/5]......passed
$ bashbrew build wordpress:4.9.6-php5.6-apache
Building bashbrew/cache:6210b23cbf2749a170b2d8d37a2d4231386b9e354e9532ad563415b2d727b1ce (wordpress:4.9.6-php5.6-apache)
Tagging wordpress:4.9.6-php5.6-apache
Tagging wordpress:4.9-php5.6-apache
Tagging wordpress:4-php5.6-apache
Tagging wordpress:php5.6-apache
Tagging wordpress:4.9.6-php5.6
Tagging wordpress:4.9-php5.6
Tagging wordpress:4-php5.6
Tagging wordpress:php5.6

$ test/run.sh wordpress:4.9.6-php5.6-apache
testing wordpress:4.9.6-php5.6-apache
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'wordpress-apache-run' [5/5]......passed


$ bashbrew build wordpress:4.9.6-php5.6-fpm
Building bashbrew/cache:51cda38b01fea932ebafa867ea30f7621ddf3b2ca8ce893ace6706b421658e0d (wordpress:4.9.6-php5.6-fpm)
Tagging wordpress:4.9.6-php5.6-fpm
Tagging wordpress:4.9-php5.6-fpm
Tagging wordpress:4-php5.6-fpm
Tagging wordpress:php5.6-fpm

$ test/run.sh wordpress:4.9.6-php5.6-fpm
testing wordpress:4.9.6-php5.6-fpm
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'wordpress-fpm-run' [5/5]......passed


$ bashbrew build wordpress:4.9.6-php5.6-fpm-alpine
Building bashbrew/cache:6907743bf951a2ba6052dba83b3c6ed5527e84d17c62bbe483f2d132b67bbf3e (wordpress:4.9.6-php5.6-fpm-alpine)
Tagging wordpress:4.9.6-php5.6-fpm-alpine
Tagging wordpress:4.9-php5.6-fpm-alpine
Tagging wordpress:4-php5.6-fpm-alpine
Tagging wordpress:php5.6-fpm-alpine

$ test/run.sh wordpress:4.9.6-php5.6-fpm-alpine
testing wordpress:4.9.6-php5.6-fpm-alpine
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'wordpress-fpm-run' [5/5]......passed


$ bashbrew build wordpress:4.9.6-php7.0-apache
Building bashbrew/cache:b1ee7e15b699c5f31855555b2bc4b669c4444cfd5c4f909a0ad5f24d7c040f7c (wordpress:4.9.6-php7.0-apache)
Tagging wordpress:4.9.6-php7.0-apache
Tagging wordpress:4.9-php7.0-apache
Tagging wordpress:4-php7.0-apache
Tagging wordpress:php7.0-apache
Tagging wordpress:4.9.6-php7.0
Tagging wordpress:4.9-php7.0
Tagging wordpress:4-php7.0
Tagging wordpress:php7.0

$ test/run.sh wordpress:4.9.6-php7.0-apache
testing wordpress:4.9.6-php7.0-apache
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'wordpress-apache-run' [5/5]......passed


$ bashbrew build wordpress:4.9.6-php7.0-fpm
Building bashbrew/cache:244a5b3191aa263f16265dc954678d06df961287041c59cce46c55b3578adb2a (wordpress:4.9.6-php7.0-fpm)
Tagging wordpress:4.9.6-php7.0-fpm
Tagging wordpress:4.9-php7.0-fpm
Tagging wordpress:4-php7.0-fpm
Tagging wordpress:php7.0-fpm

$ test/run.sh wordpress:4.9.6-php7.0-fpm
testing wordpress:4.9.6-php7.0-fpm
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'wordpress-fpm-run' [5/5]......passed


$ bashbrew build wordpress:4.9.6-php7.0-fpm-alpine
Building bashbrew/cache:e24f3624e217d270293659cb1c508bf4b6abff42910c99ccfe6cd137e3aab321 (wordpress:4.9.6-php7.0-fpm-alpine)
Tagging wordpress:4.9.6-php7.0-fpm-alpine
Tagging wordpress:4.9-php7.0-fpm-alpine
Tagging wordpress:4-php7.0-fpm-alpine
Tagging wordpress:php7.0-fpm-alpine

$ test/run.sh wordpress:4.9.6-php7.0-fpm-alpine
testing wordpress:4.9.6-php7.0-fpm-alpine
	'utc' [1/5]...passed
	'cve-2014--shellshock' [2/5]...passed
	'no-hard-coded-passwords' [3/5]...passed
	'override-cmd' [4/5]...passed
	'wordpress-fpm-run' [5/5]......passed


$ bashbrew build wordpress:4.9.6-php7.1-apache
Building bashbrew/cache:fafa5f37a4bd601dbb456f7b6d59b73f8367d187ca9146dad29c7b51243d5e6c (wordpress:4.9.6-php7.1-apache)
Tagging wordpress:4.9.6-php7.1-apache
Tagging wordpress:4.9-php7.1-apache
Tagging wordpress:4-php7.1-apache
Tagging wordpress:php7.1-apache
Tagging wordpress:4.9.6-php7.1
Tagging wordpress:4.9-php7.1
Tagging wordpress:4-php7.1
Tagging wordpress:php7.1

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


$ bashbrew build wordpress:4.9.6-php7.1-fpm
Building bashbrew/cache:cc874350985f2b77147258197ee726edb0a2abe7d428f813b52e14629eb51a96 (wordpress:4.9.6-php7.1-fpm)
Tagging wordpress:4.9.6-php7.1-fpm
Tagging wordpress:4.9-php7.1-fpm
Tagging wordpress:4-php7.1-fpm
Tagging wordpress:php7.1-fpm

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


$ bashbrew build wordpress:4.9.6-php7.1-fpm-alpine
Building bashbrew/cache:edcd3d9c6c3603a3bca066b8172a0123e57c1868ca2e64f3668bb1fa72383db8 (wordpress:4.9.6-php7.1-fpm-alpine)
Tagging wordpress:4.9.6-php7.1-fpm-alpine
Tagging wordpress:4.9-php7.1-fpm-alpine
Tagging wordpress:4-php7.1-fpm-alpine
Tagging wordpress:php7.1-fpm-alpine

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


$ bashbrew build wordpress:4.9.6-apache
Building bashbrew/cache:6b0c8341d9f42e8a613ca0747e6acf551e1a19e7d32cb0454885b8a72134ccec (wordpress:4.9.6-apache)
Tagging wordpress:4.9.6-apache
Tagging wordpress:4.9-apache
Tagging wordpress:4-apache
Tagging wordpress:apache
Tagging wordpress:4.9.6
Tagging wordpress:4.9
Tagging wordpress:4
Tagging wordpress:latest
Tagging wordpress:4.9.6-php7.2-apache
Tagging wordpress:4.9-php7.2-apache
Tagging wordpress:4-php7.2-apache
Tagging wordpress:php7.2-apache
Tagging wordpress:4.9.6-php7.2
Tagging wordpress:4.9-php7.2
Tagging wordpress:4-php7.2
Tagging wordpress:php7.2

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


$ bashbrew build wordpress:4.9.6-fpm
Building bashbrew/cache:dca2291aded7cdf3e909836c410be486a470382b5023f4dd4cf897c448f2a75a (wordpress:4.9.6-fpm)
Tagging wordpress:4.9.6-fpm
Tagging wordpress:4.9-fpm
Tagging wordpress:4-fpm
Tagging wordpress:fpm
Tagging wordpress:4.9.6-php7.2-fpm
Tagging wordpress:4.9-php7.2-fpm
Tagging wordpress:4-php7.2-fpm
Tagging wordpress:php7.2-fpm

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


$ bashbrew build wordpress:4.9.6-fpm-alpine
Building bashbrew/cache:1978279fb7c54f437786e427b31b993f19d20f70aa30ceb10f98339eeaad7124 (wordpress:4.9.6-fpm-alpine)
Tagging wordpress:4.9.6-fpm-alpine
Tagging wordpress:4.9-fpm-alpine
Tagging wordpress:4-fpm-alpine
Tagging wordpress:fpm-alpine
Tagging wordpress:4.9.6-php7.2-fpm-alpine
Tagging wordpress:4.9-php7.2-fpm-alpine
Tagging wordpress:4-php7.2-fpm-alpine
Tagging wordpress:php7.2-fpm-alpine

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


$ bashbrew build wordpress:cli-1.5.1-php5.6
Building bashbrew/cache:7faa973884bf129b897a3887b36f150a4870ad0e4c4a65382385cb100740b420 (wordpress:cli-1.5.1-php5.6)
Tagging wordpress:cli-1.5.1-php5.6
Tagging wordpress:cli-1.5-php5.6
Tagging wordpress:cli-1-php5.6
Tagging wordpress:cli-php5.6

$ test/run.sh wordpress:cli-1.5.1-php5.6
testing wordpress:cli-1.5.1-php5.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 wordpress:cli-1.5.1-php7.0
Building bashbrew/cache:1d458763cec4d44bc2a4db2cd1c4c2aa70a92f57dfcedae508100bbacd2eb57d (wordpress:cli-1.5.1-php7.0)
Tagging wordpress:cli-1.5.1-php7.0
Tagging wordpress:cli-1.5-php7.0
Tagging wordpress:cli-1-php7.0
Tagging wordpress:cli-php7.0

$ test/run.sh wordpress:cli-1.5.1-php7.0
testing wordpress:cli-1.5.1-php7.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 wordpress:cli-1.5.1-php7.1
Building bashbrew/cache:8ad9f2eeb0ad702ec58ab7402d91f2a598560f53375c05b9cb140c4f1eb4f26e (wordpress:cli-1.5.1-php7.1)
Tagging wordpress:cli-1.5.1-php7.1
Tagging wordpress:cli-1.5-php7.1
Tagging wordpress:cli-1-php7.1
Tagging wordpress:cli-php7.1

$ test/run.sh wordpress:cli-1.5.1-php7.1
testing wordpress:cli-1.5.1-php7.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 wordpress:cli-1.5.1
Building bashbrew/cache:24f1544a5539f4fc35ce1e6019f99529c433d6b9811aea8dd48f16584c7cb77b (wordpress:cli-1.5.1)
Tagging wordpress:cli-1.5.1
Tagging wordpress:cli-1.5
Tagging wordpress:cli-1
Tagging wordpress:cli
Tagging wordpress:cli-1.5.1-php7.2
Tagging wordpress:cli-1.5-php7.2
Tagging wordpress:cli-1-php7.2
Tagging wordpress:cli-php7.2

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

@yosifkit yosifkit merged commit 1894ad7 into docker-library:master May 25, 2018
@yosifkit yosifkit deleted the update-docker-library branch May 25, 2018 19:56
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