Namespace
privatebin
Image / Tag
nginx-fpm-alpine:1.2
Content Digest
sha256:79587613aec436531e52de37a17625243208101eb7a9b98d5a34436035ad1b1f
Details
Created

2018-07-22 11:32:28 UTC

Size

46.6 MB

Content Digest
Environment
GPG_KEYS

1729F83938DA44E27BA0F4D3DBDB397470D12172 B1B44D8F021E4E2D6021E995DC9FF8D3EE5AF27F

PATH

/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

PHPIZE_DEPS

autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

PHP_ASC_URL

https://secure.php.net/get/php-7.2.8.tar.xz.asc/from/this/mirror

PHP_CFLAGS

-fstack-protector-strong -fpic -fpie -O2

PHP_CPPFLAGS

-fstack-protector-strong -fpic -fpie -O2

PHP_EXTRA_CONFIGURE_ARGS

--enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi

PHP_INI_DIR

/usr/local/etc/php

PHP_LDFLAGS

-Wl,-O1 -Wl,--hash-style=both -pie

PHP_MD5

PHP_SHA256

53ba0708be8a7db44256e3ae9fcecc91b811e5b5119e6080c951ffe7910ffb0f

PHP_URL

https://secure.php.net/get/php-7.2.8.tar.xz/from/this/mirror

PHP_VERSION

7.2.8

RELEASE

1.2


Layers

[#000] sha256:911c6d0c7995e5d9763c1864d54fb6deccda04a55d7955123a8e22dd9d44c497 - 4.31% (2.01 MB)

[#001] sha256:2527cc05836df8b883384a19f35597b62f1e1ef30211c870fb5527e3080a6f58 - 2.57% (1.2 MB)

[#002] sha256:3299172a2d6d097e545dc05d7704c6a14168c66aa3e250a41ab825f94ab90b63 - 0.0% (1.22 KB)

[#003] sha256:05782106624fe89fa24d92965e55266bc688607d27223c74ced4be2fcaedb024 - 0.0% (169 Bytes)

[#004] sha256:3e3261543ec8d985f44c8d33bff77400546ce11a2b222325fd72bfa04f60403c - 27.43% (12.8 MB)

[#005] sha256:ce1c845d4246c7d95fc6847ad760f86cc93319439c56c4226c35b924bf627913 - 0.0% (497 Bytes)

[#006] sha256:e005e70f55dc3bb3cf856ce044b9d9e5932773bfc98bf339455270f772068c0a - 32.72% (15.2 MB)

[#007] sha256:84403a106e164c8f5cdba9c29dc23aea4b789a93b2e023b3f4cef9f7e74d7839 - 0.0% (2.12 KB)

[#008] sha256:e4fc13f7949f5fbf7dd4b72d8285f0632e11963a9c0f1147f0db97f0326c483d - 0.15% (69.2 KB)

[#009] sha256:2a53e72ea7b912c379ea54f6dcb6e2971a00785d26bf45daf85948763271e68f - 0.0% (130 Bytes)

[#010] sha256:d791f6b71f2733a0c0c6eb0223b13e5db10432ff531ba3b25d07b5ffe500ef5c - 0.02% (7.6 KB)

[#011] sha256:ee03a0fbe0550877153f4d51e2632fd5e18e392b7daa174ecbce333daedade56 - 32.8% (15.3 MB)

[#012] sha256:fcd6e276a99591e41ed89a82e5c917f3fd9e2d5537a65d2da0ebdf456a4405f4 - 0.01% (3.29 KB)

[#013] sha256:367c3738341e0fb0778e9953f58fda42e5309d9eb598e862912d91140ed16ceb - 0.0% (1.5 KB)


History
2018-07-06 14:13:45 UTC

/bin/sh -c #(nop) ADD file:6ee19b92d5cb1bf143947fe2e2481cb3b353d42e1e54888a8ba48c03dd4155f2 in /

2018-07-06 14:13:45 UTC

/bin/sh -c #(nop) CMD ["/bin/sh"]

2018-07-06 16:18:38 UTC

/bin/sh -c #(nop) ENV PHPIZE_DEPS=autoconf dpkg-dev dpkg file g++ gcc libc-dev make pkgconf re2c

2018-07-06 16:18:40 UTC

/bin/sh -c apk add --no-cache --virtual .persistent-deps ca-certificates curl tar xz libressl

2018-07-06 16:18:41 UTC

/bin/sh -c set -x && addgroup -g 82 -S www-data && adduser -u 82 -D -S -G www-data www-data

2018-07-06 16:18:41 UTC

/bin/sh -c #(nop) ENV PHP_INI_DIR=/usr/local/etc/php

2018-07-06 16:18:42 UTC

/bin/sh -c mkdir -p $PHP_INI_DIR/conf.d

2018-07-06 16:23:55 UTC

/bin/sh -c #(nop) ENV PHP_EXTRA_CONFIGURE_ARGS=--enable-fpm --with-fpm-user=www-data --with-fpm-group=www-data --disable-cgi

2018-07-06 16:23:55 UTC

/bin/sh -c #(nop) ENV PHP_CFLAGS=-fstack-protector-strong -fpic -fpie -O2

2018-07-06 16:23:56 UTC

/bin/sh -c #(nop) ENV PHP_CPPFLAGS=-fstack-protector-strong -fpic -fpie -O2

2018-07-06 16:23:56 UTC

/bin/sh -c #(nop) ENV PHP_LDFLAGS=-Wl,-O1 -Wl,--hash-style=both -pie

2018-07-06 16:23:56 UTC

/bin/sh -c #(nop) ENV GPG_KEYS=1729F83938DA44E27BA0F4D3DBDB397470D12172 B1B44D8F021E4E2D6021E995DC9FF8D3EE5AF27F

2018-07-21 08:07:29 UTC

/bin/sh -c #(nop) ENV PHP_VERSION=7.2.8

2018-07-21 08:07:29 UTC

/bin/sh -c #(nop) ENV PHP_URL=https://secure.php.net/get/php-7.2.8.tar.xz/from/this/mirror PHP_ASC_URL=https://secure.php.net/get/php-7.2.8.tar.xz.asc/from/this/mirror

2018-07-21 08:07:29 UTC

/bin/sh -c #(nop) ENV PHP_SHA256=53ba0708be8a7db44256e3ae9fcecc91b811e5b5119e6080c951ffe7910ffb0f PHP_MD5=

2018-07-21 08:07:37 UTC

/bin/sh -c set -xe; apk add --no-cache --virtual .fetch-deps gnupg wget ; mkdir -p /usr/src; cd /usr/src; wget -O php.tar.xz "$PHP_URL"; if [ -n "$PHP_SHA256" ]; then echo "$PHP_SHA256 *php.tar.xz" | sha256sum -c -; fi; if [ -n "$PHP_MD5" ]; then echo "$PHP_MD5 *php.tar.xz" | md5sum -c -; fi; if [ -n "$PHP_ASC_URL" ]; then wget -O php.tar.xz.asc "$PHP_ASC_URL"; export GNUPGHOME="$(mktemp -d)"; for key in $GPG_KEYS; do gpg --keyserver ha.pool.sks-keyservers.net --recv-keys "$key"; done; gpg --batch --verify php.tar.xz.asc php.tar.xz; command -v gpgconf > /dev/null && gpgconf --kill all; rm -rf "$GNUPGHOME"; fi; apk del .fetch-deps

2018-07-21 08:07:38 UTC

/bin/sh -c #(nop) COPY file:207c686e3fed4f71f8a7b245d8dcae9c9048d276a326d82b553c12a90af0c0ca in /usr/local/bin/

2018-07-21 08:11:01 UTC

/bin/sh -c set -xe && apk add --no-cache --virtual .build-deps $PHPIZE_DEPS coreutils curl-dev libedit-dev libressl-dev libsodium-dev libxml2-dev sqlite-dev && export CFLAGS="$PHP_CFLAGS" CPPFLAGS="$PHP_CPPFLAGS" LDFLAGS="$PHP_LDFLAGS" && docker-php-source extract && cd /usr/src/php && gnuArch="$(dpkg-architecture --query DEB_BUILD_GNU_TYPE)" && ./configure --build="$gnuArch" --with-config-file-path="$PHP_INI_DIR" --with-config-file-scan-dir="$PHP_INI_DIR/conf.d" --enable-option-checking=fatal --with-mhash --enable-ftp --enable-mbstring --enable-mysqlnd --with-sodium=shared --with-curl --with-libedit --with-openssl --with-zlib $(test "$gnuArch" = 's390x-linux-gnu' && echo '--without-pcre-jit') $PHP_EXTRA_CONFIGURE_ARGS && make -j "$(nproc)" && make install && { find /usr/local/bin /usr/local/sbin -type f -perm +0111 -exec strip --strip-all '{}' + || true; } && make clean && cd / && docker-php-source delete && runDeps="$( scanelf --needed --nobanner --format '%n#p' --recursive /usr/local | tr ',' '\n' | sort -u | awk 'system("[ -e /usr/local/lib/" $1 " ]") == 0 { next } { print "so:" $1 }' )" && apk add --no-cache --virtual .php-rundeps $runDeps && apk del .build-deps && pecl update-channels && rm -rf /tmp/pear ~/.pearrc

2018-07-21 08:11:09 UTC

/bin/sh -c #(nop) COPY multi:af8a06a5cfc82b17b169c6d1e48630a516582fa7ce00d8e59e5a378e100d064a in /usr/local/bin/

2018-07-21 08:11:11 UTC

/bin/sh -c docker-php-ext-enable sodium

2018-07-21 08:11:11 UTC

/bin/sh -c #(nop) ENTRYPOINT ["docker-php-entrypoint"]

2018-07-21 08:11:27 UTC

/bin/sh -c #(nop) WORKDIR /var/www/html

2018-07-21 08:11:27 UTC

/bin/sh -c set -ex && cd /usr/local/etc && if [ -d php-fpm.d ]; then sed 's!=NONE/!=!g' php-fpm.conf.default | tee php-fpm.conf > /dev/null; cp php-fpm.d/www.conf.default php-fpm.d/www.conf; else mkdir php-fpm.d; cp php-fpm.conf.default php-fpm.d/www.conf; { echo '[global]'; echo 'include=etc/php-fpm.d/*.conf'; } | tee php-fpm.conf; fi && { echo '[global]'; echo 'error_log = /proc/self/fd/2'; echo; echo '[www]'; echo '; if we send this to /proc/self/fd/1, it never appears'; echo 'access.log = /proc/self/fd/2'; echo; echo 'clear_env = no'; echo; echo '; Ensure worker stdout and stderr are sent to the main error log.'; echo 'catch_workers_output = yes'; } | tee php-fpm.d/docker.conf && { echo '[global]'; echo 'daemonize = no'; echo; echo '[www]'; echo 'listen = 9000'; } | tee php-fpm.d/zz-docker.conf

2018-07-21 08:11:28 UTC

/bin/sh -c #(nop) EXPOSE 9000/tcp

2018-07-21 08:11:28 UTC

/bin/sh -c #(nop) CMD ["php-fpm"]

2018-07-22 11:29:02 UTC

/bin/sh -c #(nop) MAINTAINER PrivateBin <support@privatebin.org>

2018-07-22 11:29:02 UTC

/bin/sh -c #(nop) ENV RELEASE=1.2

2018-07-22 11:32:25 UTC

/bin/sh -c apk add --no-cache nginx supervisor && docker-php-ext-install -j$(nproc) opcache && rm -f /usr/local/etc/php/conf.d/docker-php-ext-opcache.ini && apk add --no-cache freetype libpng libjpeg-turbo freetype-dev libpng-dev libjpeg-turbo-dev && docker-php-ext-configure gd --with-freetype-dir=/usr/include/ --with-png-dir=/usr/include/ --with-jpeg-dir=/usr/include/ && docker-php-ext-install -j$(nproc) gd && apk del --no-cache freetype-dev libpng-dev libjpeg-turbo-dev && rm -f /etc/nginx.conf && rm -f /etc/nginx/conf.d/default.conf && rm -rf /etc/nginx/sites-* && rm -rf /var/log/nginx && rm /var/lib/nginx/logs && mkdir -p /var/lib/nginx/logs && ln -s /dev/stderr /var/lib/nginx/logs/error.log && mkdir -p /etc/nginx/server.d/ && mkdir -p /etc/nginx/location.d/ && rm /usr/local/etc/php-fpm.d/www.conf.default && mv /usr/local/etc/php-fpm.d/docker.conf /usr/local/etc/php-fpm.d/00-docker.conf && mv /usr/local/etc/php-fpm.d/www.conf /usr/local/etc/php-fpm.d/10-www.conf && mv /usr/local/etc/php-fpm.d/zz-docker.conf /usr/local/etc/php-fpm.d/20-docker.conf && apk add --no-cache gnupg && export GNUPGHOME="$(mktemp -d)" && gpg2 --list-public-keys || /bin/true && curl -s https://privatebin.info/key/security.asc | gpg2 --import - && rm -rf /var/www/* && cd /tmp && curl -Ls https://github.com/PrivateBin/PrivateBin/releases/download/${RELEASE}/PrivateBin-${RELEASE}.tar.gz.asc > PrivateBin-${RELEASE}.tar.gz.asc && curl -Ls https://github.com/PrivateBin/PrivateBin/archive/${RELEASE}.tar.gz > PrivateBin-${RELEASE}.tar.gz && gpg2 --verify PrivateBin-${RELEASE}.tar.gz.asc && cd /var/www && tar -xzf /tmp/PrivateBin-${RELEASE}.tar.gz --strip 1 && rm *.md cfg/conf.sample.php && mv cfg /srv && mv lib /srv && mv tpl /srv && mv vendor /srv && mkdir -p /srv/data && sed -i "s#define('PATH', '');#define('PATH', '/srv/');#" index.php && chown -R www-data.www-data /var/www /srv/* && rm -rf "${GNUPGHOME}" /tmp/* && apk del --no-cache gnupg

2018-07-22 11:32:26 UTC

/bin/sh -c #(nop) WORKDIR /var/www

2018-07-22 11:32:27 UTC

/bin/sh -c #(nop) ADD dir:0f278e827d301d11a68114e73cd0b23a9d4a44f0da1e5b78977eed3076dbb18c in /etc/

2018-07-22 11:32:27 UTC

/bin/sh -c #(nop) ADD dir:94bbab17cfd5710e5a4791c615d3bfca4cfdcb064b95f05e85c9995d6e24a9b9 in /usr/

2018-07-22 11:32:27 UTC

/bin/sh -c #(nop) VOLUME [/srv/data /tmp /var/tmp /run /var/log]

2018-07-22 11:32:28 UTC

/bin/sh -c #(nop) EXPOSE 80

2018-07-22 11:32:28 UTC

/bin/sh -c #(nop) ENTRYPOINT ["/usr/bin/supervisord" "-c" "/etc/supervisord.conf"]

Danger Zone
Delete Tag

Please be careful as this will not just delete the reference but also the actual content!

For example when you have latest and v1.2.3 both pointing to the same image
the deletion of latest will also permanently remove v1.2.3.

Delete