paheko (latest)

Published 2023-09-17 14:28:10 +00:00 by mbess in mbess/docker-paheko

Installation

docker pull forge.lefuturiste.fr/mbess/paheko:latest
sha256:ba89811188dfe6f4c1a83d5955da4a4bd3844b7aa532deb3ff142fcf5daa60f5

Image Layers

ADD file:6dd87346b8be240b21b4f4d9296253bf0d28b6579aa52d2118872e3936963b6b in /
CMD ["/bin/sh"]
LABEL Maintainer=lefuturiste
LABEL Description=Paheko on Alpine Linux with Docker
ARG PAHEKO_VERSION=1.3.0-rc10
VOLUME [/var/www/paheko/data]
WORKDIR /var/www/
RUN |1 PAHEKO_VERSION=1.3.0-rc10 /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 supervisor gettext # buildkit
RUN |1 PAHEKO_VERSION=1.3.0-rc10 /bin/sh -c apk add --no-cache git make php81-dev build-base gpgme-dev # buildkit
WORKDIR /tmp
RUN |1 PAHEKO_VERSION=1.3.0-rc10 /bin/sh -c git clone --recursive https://github.com/php-gnupg/php-gnupg.git && cd php-gnupg && phpize && ./configure && make && make install # buildkit
WORKDIR /var/www/
RUN |1 PAHEKO_VERSION=1.3.0-rc10 /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.0-rc10 /bin/sh -c tar xf paheko-${PAHEKO_VERSION}.tar.gz # buildkit
RUN |1 PAHEKO_VERSION=1.3.0-rc10 /bin/sh -c rm -rf *.tar.gz # buildkit
RUN |1 PAHEKO_VERSION=1.3.0-rc10 /bin/sh -c mv paheko-${PAHEKO_VERSION} /var/www/paheko # buildkit
RUN |1 PAHEKO_VERSION=1.3.0-rc10 /bin/sh -c echo ${PAHEKO_VERSION} > /paheko_version # buildkit
RUN |1 PAHEKO_VERSION=1.3.0-rc10 /bin/sh -c cat /var/www/paheko/VERSION # buildkit
COPY ./patchs /patchs # buildkit
RUN |1 PAHEKO_VERSION=1.3.0-rc10 /bin/sh -c cd paheko && patch -p1 < /patchs/plugins.patch # buildkit
RUN |1 PAHEKO_VERSION=1.3.0-rc10 /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.0-rc10 /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.0-rc10 /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" '\x00'}

Labels

Key Value
Description Paheko on Alpine Linux with Docker
Maintainer lefuturiste
Details
Container
2023-09-17 14:28:10 +00:00
1
OCI / Docker
linux/amd64
170 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