privatebin-nginx-fpm-alpine (1.7.1-alpine3.19.1)

Published 2024-02-16 18:44:45 +00:00 by garbaye-imagebuilder in Garbaye/services-garbaye

Installation

docker pull git.garbaye.fr/garbaye/privatebin-nginx-fpm-alpine:1.7.1-alpine3.19.1
sha256:12f0b62f9e1c74684791e2a0a1bdf0bcc7c9dec07575076830a7016eecd29455

Image Layers

ADD file:37a76ec18f9887751cd8473744917d08b7431fc4085097bb6a09d81b41775473 in /
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:03c043e41cdc07c0ac845d1a0a4a996dc48cc67195d5d743a6daefe975f0bb97 in /tmp/
|11 ALPINE_PACKAGES=php83-iconv php83-pdo_mysql php83-pdo_pgsql php83-openssl php83-simplexml COMPOSER_PACKAGES=aws/aws-sdk-php google/cloud-storage GID=82 PBURL=https://github.com/PrivateBin/PrivateBin/ RELEASE=1.7.1 UID=65534 /bin/sh -c ALPINE_PACKAGES="$(echo ${ALPINE_PACKAGES} | sed 's/,/ /g')" ; ALPINE_COMPOSER_PACKAGES="" ; if [ -n "${COMPOSER_PACKAGES}" ] ; then ALPINE_COMPOSER_PACKAGES="php83-phar" ; if [ -n "${ALPINE_PACKAGES##*php83-curl*}" ] ; then ALPINE_COMPOSER_PACKAGES="php83-curl ${ALPINE_COMPOSER_PACKAGES}" ; fi ; if [ -n "${ALPINE_PACKAGES##*php83-mbstring*}" ] ; then ALPINE_COMPOSER_PACKAGES="php83-mbstring ${ALPINE_COMPOSER_PACKAGES}" ; fi ; RAWURL="$(echo ${PBURL} | sed s/github.com/raw.githubusercontent.com/)" ; fi && apk upgrade --no-cache && apk add --no-cache gnupg git nginx php83 php83-fpm php83-gd php83-opcache s6 tzdata ${ALPINE_PACKAGES} ${ALPINE_COMPOSER_PACKAGES} && mv /etc/php83 /etc/php && ln -s /etc/php /etc/php83 && ln -s $(which php83) /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 && if [ -n "${COMPOSER_PACKAGES}" ] ; then wget -qO composer-installer.php https://getcomposer.org/installer && php composer-installer.php --install-dir=/usr/local/bin --filename=composer ; fi && cd /var/www && tar -xzf /tmp/${RELEASE}.tar.gz --strip 1 && if [ -n "${COMPOSER_PACKAGES}" ] ; then wget -q ${RAWURL}${RELEASE}/composer.json && wget -q ${RAWURL}${RELEASE}/composer.lock && composer remove --dev --no-update phpunit/phpunit && composer require --no-update ${COMPOSER_PACKAGES} && composer update --no-dev --optimize-autoloader rm composer.* /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-fpm83/supervise && mkfifo /etc/s6/services/nginx/supervise/control /etc/s6/services/php-fpm83/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/* && apk del --no-cache gnupg git ${ALPINE_COMPOSER_PACKAGES}
COPY dir:3201c1771b9a0f7858990609629a1cd4f8dd68de02cd975bc13bd326d9f0e411 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"]

Labels

Key Value
io.buildah.version 1.31.3
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.source https://github.com/PrivateBin/docker-nginx-fpm-alpine
org.opencontainers.image.vendor PrivateBin
org.opencontainers.image.version 1.7.1
Details
Container
2024-02-16 18:44:45 +00:00
86
OCI / Docker
linux/amd64
support@privatebin.org
zlib-acknowledgement
28 MiB
Versions (4) View all
1.7.1-alpine3.19.1 2024-02-16
1.6.2-alpine3.19 2023-12-21
1.6.1-alpine3.18.5 2023-12-05
1.6.0-alpine3.18.3 2023-09-11