paheko (1.3.8)

Published 2024-04-22 19:17:39 +00:00 by mbess in mbess/docker-paheko

Installation

docker pull forge.lefuturiste.fr/mbess/paheko:1.3.8
sha256:f653149632d7cc3eb5d7386fb69639af33ae3fb0e1db6f2b12866e10a151d159

Image Layers

ADD file:37a76ec18f9887751cd8473744917d08b7431fc4085097bb6a09d81b41775473 in /
CMD ["/bin/sh"]
LABEL Maintainer=lefuturiste
LABEL Description=Paheko on Alpine Linux with Docker
ARG PAHEKO_VERSION=1.3.8
VOLUME [/var/www/paheko/data]
WORKDIR /var/www/
RUN |1 PAHEKO_VERSION=1.3.8 /bin/sh -c apk add --no-cache curl nginx php81 php81-ctype php81-curl php81-dom php81-fpm php81-gd php81-intl php81-mbstring php81-opcache php81-openssl php81-phar php81-session php81-sqlite3 php81-pdo_sqlite php81-fileinfo php81-json php81-openssl php81-xml php81-xmlreader php81-zlib php81-zip php81-dev supervisor gettext # buildkit
RUN |1 PAHEKO_VERSION=1.3.8 /bin/sh -c ln -s /usr/bin/php81 /usr/bin/php && ln -s /usr/bin/phpize81 /usr/bin/phpize && ln -s /usr/bin/php-config81 /usr/bin/php-config # buildkit
RUN |1 PAHEKO_VERSION=1.3.8 /bin/sh -c apk add --no-cache git make php81-dev build-base gpgme-dev # buildkit
WORKDIR /tmp
RUN |1 PAHEKO_VERSION=1.3.8 /bin/sh -c git clone --depth 1 --recursive https://forge.lefuturiste.fr/github-mirrors/php-gnupg.git && cd php-gnupg && phpize81 && ./configure && make && make install # buildkit
WORKDIR /var/www/
RUN |1 PAHEKO_VERSION=1.3.8 /bin/sh -c curl -v -L -O "https://fossil.kd2.org/paheko/uv/paheko-${PAHEKO_VERSION}.tar.gz" # buildkit
RUN |1 PAHEKO_VERSION=1.3.8 /bin/sh -c tar xf paheko-${PAHEKO_VERSION}.tar.gz # buildkit
RUN |1 PAHEKO_VERSION=1.3.8 /bin/sh -c rm -rf *.tar.gz # buildkit
RUN |1 PAHEKO_VERSION=1.3.8 /bin/sh -c mv paheko-${PAHEKO_VERSION} /var/www/paheko # buildkit
RUN |1 PAHEKO_VERSION=1.3.8 /bin/sh -c echo ${PAHEKO_VERSION} > /paheko_version # buildkit
RUN |1 PAHEKO_VERSION=1.3.8 /bin/sh -c cat /var/www/paheko/VERSION # buildkit
RUN |1 PAHEKO_VERSION=1.3.8 /bin/sh -c cd /var/www/paheko/data/plugins && curl -L -O https://fossil.kd2.org/paheko-plugins/uv/helloasso.tar.gz # buildkit
RUN |1 PAHEKO_VERSION=1.3.8 /bin/sh -c rm /etc/nginx/http.d/default.conf # remove this file because it listens on port 80 and it blocks other vhost # buildkit
COPY config/nginx-paheko.conf /etc/nginx/http.d # buildkit
COPY config/fpm-paheko.conf /etc/php81/php-fpm.d/ # buildkit
COPY config/php-custom.ini /etc/php81/conf.d/custom.ini # buildkit
COPY config/supervisord.conf /etc/supervisord.conf # buildkit
RUN |1 PAHEKO_VERSION=1.3.8 /bin/sh -c chown -R nobody: /run /var/lib/nginx /var/log/nginx /var/www/paheko # buildkit
USER nobody
EXPOSE map[80/tcp:{}]
CMD ["/usr/bin/supervisord" "-c" "/etc/supervisord.conf"]
HEALTHCHECK &{["CMD-SHELL" "curl --silent --fail http://127.0.0.1:8080/fpm-ping"] "0s" "10s" "0s" "0s" '\x00'}

Labels

Key Value
Description Paheko on Alpine Linux with Docker
Maintainer lefuturiste
Details
Container
2024-04-22 19:17:39 +00:00
2
OCI / Docker
linux/amd64
172 MiB
Versions (5) View all
1.3.8 2024-04-22
master-patched 2024-01-21
1.3.4 2023-12-21
1.3.0-rc10 2023-09-17
latest 2023-09-17