privatebin-nginx-fpm-alpine (2.0.5-alpine3.24)
Installation
docker pull git.garbaye.fr/garbaye/privatebin-nginx-fpm-alpine:2.0.5-alpine3.24sha256:186afdfc14b28b80bfc4af0f49d5eed0e569e946acbc61b093ba041a92cb34c5Image layers
| ADD alpine-minirootfs-3.24.1-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| ARG ALPINE_PACKAGES |
| ARG ALPINE_PACKAGES COMPOSER_PACKAGES |
| ARG ALPINE_PACKAGES COMPOSER_PACKAGES PBURL |
| ARG ALPINE_PACKAGES COMPOSER_PACKAGES PBURL RELEASE |
| ARG ALPINE_PACKAGES COMPOSER_PACKAGES PBURL RELEASE UID |
| ARG ALPINE_PACKAGES COMPOSER_PACKAGES GID PBURL RELEASE UID |
| ENV CONFIG_PATH=/srv/cfg |
| ENV PATH=$PATH:/srv/bin |
| LABEL org.opencontainers.image.authors=support@privatebin.org org.opencontainers.image.vendor=PrivateBin org.opencontainers.image.documentation=https://github.com/PrivateBin/docker-nginx-fpm-alpine/blob/master/README.md org.opencontainers.image.source=https://github.com/PrivateBin/docker-nginx-fpm-alpine org.opencontainers.image.licenses=zlib-acknowledgement org.opencontainers.image.version=${RELEASE} |
| COPY file:79b9e118c958d54e18ec0c3d5c1fd17f58fca579efe918c1065322b53b4957af in /tmp/ |
| |11 ALPINE_PACKAGES=php85-iconv php85-pdo_mysql php85-pdo_pgsql php85-openssl php85-simplexml COMPOSER_PACKAGES=aws/aws-sdk-php google/cloud-storage GID=82 PBURL=https://github.com/PrivateBin/PrivateBin/ RELEASE=2.0.5 UID=65534 /bin/sh -c ALPINE_PACKAGES="$(echo ${ALPINE_PACKAGES} | sed 's/,/ /g')" ; ALPINE_COMPOSER_PACKAGES="" ; if [ -n "${COMPOSER_PACKAGES}" ] ; then ALPINE_COMPOSER_PACKAGES="composer" ; if [ -n "${ALPINE_PACKAGES##*php85-curl*}" ] ; then ALPINE_COMPOSER_PACKAGES="php84-curl ${ALPINE_COMPOSER_PACKAGES}" ; fi ; if [ -n "${ALPINE_PACKAGES##*php85-mbstring*}" ] ; then ALPINE_COMPOSER_PACKAGES="php84-mbstring ${ALPINE_COMPOSER_PACKAGES}" ; fi ; if [ -z "${ALPINE_PACKAGES##*php85-simplexml*}" ] ; then ALPINE_COMPOSER_PACKAGES="php84-simplexml ${ALPINE_COMPOSER_PACKAGES}" ; fi ; fi && apk upgrade --no-cache && apk add --no-cache gnupg git nginx php85 php85-fpm php85-gd s6 tzdata ${ALPINE_PACKAGES} ${ALPINE_COMPOSER_PACKAGES} && mv /etc/php85 /etc/php && ln -s /etc/php /etc/php85 && ln -s $(which php85) /usr/local/bin/php && rm -f /etc/nginx.conf /etc/nginx/http.d/default.conf /etc/php/php-fpm.d/www.conf && rm -rf /etc/nginx/sites-* && ln -s /dev/stderr /var/log/nginx/error.log && cd /tmp && export GNUPGHOME="$(mktemp -d -p /tmp)" && gpg2 --list-public-keys || /bin/true && gpg2 --import /tmp/release.asc && rm -rf /var/www/* && if expr "${RELEASE}" : '[0-9]\{1,\}\.[0-9]\{1,\}\.[0-9]\{1,\}$' >/dev/null ; then echo "getting release ${RELEASE}"; wget -qO ${RELEASE}.tar.gz.asc ${PBURL}releases/download/${RELEASE}/PrivateBin-${RELEASE}.tar.gz.asc && wget -q ${PBURL}archive/${RELEASE}.tar.gz && gpg2 --verify ${RELEASE}.tar.gz.asc ; else echo "getting tarball for ${RELEASE}"; git clone ${PBURL%%/}.git -b ${RELEASE}; (cd $(basename ${PBURL}) && git archive --prefix ${RELEASE}/ --format tgz ${RELEASE} > /tmp/${RELEASE}.tar.gz); fi && cd /var/www && tar -xzf /tmp/${RELEASE}.tar.gz --strip 1 && if [ -n "${COMPOSER_PACKAGES}" ] ; then composer remove --dev --no-update phpunit/phpunit && composer config --unset platform && composer require --no-update ${COMPOSER_PACKAGES} && composer update --no-dev --optimize-autoloader rm /usr/local/bin/* ; fi && rm *.md cfg/conf.sample.php && mv bin cfg lib tpl vendor /srv && mkdir -p /srv/data && sed -i "s#define('PATH', '');#define('PATH', '/srv/');#" index.php && mkdir -p /etc/s6/services/nginx/supervise /etc/s6/services/php-fpm85/supervise && mkfifo /etc/s6/services/nginx/supervise/control /etc/s6/services/php-fpm85/supervise/control && chown -R ${UID}:${GID} /etc/s6 /run /srv/* /var/lib/nginx /var/www && chmod o+rwx /run /var/lib/nginx /var/lib/nginx/tmp && gpgconf --kill gpg-agent && rm -rf /tmp/* composer.* && apk del --no-cache gnupg git ${ALPINE_COMPOSER_PACKAGES} |
| COPY dir:94043a9ceb7795fd69249562966e2c4edcc148651d0858687df0f4ce4dfa82cf in /etc/ |
| WORKDIR /var/www |
| USER ${UID}:${GID} |
| VOLUME /run /srv/data /tmp /var/lib/nginx/tmp |
| EXPOSE 8080 |
| ENTRYPOINT ["/etc/init.d/rc.local"] |
| LABEL "org.opencontainers.image.revision"="3035d6e5d3cceb7f06f7b7bb80968727879c52b0" |
Labels
| Key | Value |
|---|---|
| io.buildah.version | 1.43.1 |
| org.opencontainers.image.authors | support@privatebin.org |
| org.opencontainers.image.documentation | https://github.com/PrivateBin/docker-nginx-fpm-alpine/blob/master/README.md |
| org.opencontainers.image.licenses | zlib-acknowledgement |
| org.opencontainers.image.revision | 3035d6e5d3cceb7f06f7b7bb80968727879c52b0 |
| org.opencontainers.image.source | https://github.com/PrivateBin/docker-nginx-fpm-alpine |
| org.opencontainers.image.vendor | PrivateBin |
| org.opencontainers.image.version | 2.0.5 |
Details
2026-07-13 06:43:32 +00:00
Versions (10)
View all
Container
41
OCI / Docker
linux/amd64
support@privatebin.org
zlib-acknowledgement
39 MiB
2.0.5-alpine3.24
2026-07-13
2.0.4-alpine3.23
2026-05-03
2.0.3-alpine3.22
2025-11-12
2.0.2-alpine3.22
2025-10-31
2.0.1-alpine3.22
2025-10-14