diff --git a/Dockerfile b/Dockerfile index 27a8236..abdd31b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,8 +4,7 @@ FROM alpine:${ALPINE_VERSION} LABEL Maintainer="lefuturiste" LABEL Description="Paheko on Alpine Linux with Docker" -# BORDEL DE MERDE, CEST APRES LES FROM POUR AVOIR LA VARIABLE EN BAS -ARG PAHEKO_VERSION=1.3.0-rc10 +ARG PAHEKO_VERSION=1.3.4 VOLUME /var/www/paheko/data @@ -48,7 +47,7 @@ RUN git clone --recursive https://github.com/php-gnupg/php-gnupg.git && cd php-g WORKDIR /var/www/ # Downloading and installing paheko -# https://fossil.kd2.org/paheko/uv/paheko-1.3.0-rc10.tar.gz +# eg. https://fossil.kd2.org/paheko/uv/paheko-1.3.0-rc10.tar.gz RUN curl -v -L -O "https://fossil.kd2.org/paheko/uv/paheko-${PAHEKO_VERSION}.tar.gz" RUN tar xf paheko-${PAHEKO_VERSION}.tar.gz RUN rm -rf *.tar.gz @@ -57,8 +56,8 @@ RUN echo ${PAHEKO_VERSION} > /paheko_version RUN cat /var/www/paheko/VERSION # apply quick patch -COPY ./patchs /patchs -RUN cd paheko && patch -p1 < /patchs/plugins.patch +# COPY ./patchs /patchs +# RUN cd paheko && patch -p1 < /patchs/plugins.patch # Download and install plugins RUN cd /var/www/paheko/data/plugins && curl -L -O https://fossil.kd2.org/paheko-plugins/uv/helloasso.tar.gz diff --git a/patchs/plugins.patch b/patchs/plugins.patch deleted file mode 100644 index 3fd2cfe..0000000 --- a/patchs/plugins.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- ./include/lib/Paheko/Plugins.php 2023-09-14 23:44:22.145170360 +0200 -+++ ./include/lib/Paheko/Plugins.php.patched 2023-09-17 16:02:31.288229495 +0200 -@@ -11,7 +11,7 @@ - use Paheko\UserTemplate\Modules; - - use KD2\DB\EntityManager as EM; --use KD2\DB\ErrorManager; -+use KD2\ErrorManager; - - use const Paheko\{SYSTEM_SIGNALS, ADMIN_URL, WWW_URL, PLUGINS_ROOT, HOSTING_PROVIDER}; - -