diff --git a/Dockerfile b/Dockerfile index 0e007787..e3439dd7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ -FROM debian:buster-slim +# Not using buster because of bug: https://bugs.php.net/bug.php?id=78870 +FROM debian:stretch-slim ARG DEBIAN_FRONTEND=noninteractive RUN apt-get update \ @@ -25,19 +26,18 @@ RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - \ RUN a2dissite 000-default -# Package php-text-captcha is not included in buster -RUN echo "deb http://ftp.es.debian.org/debian stretch main" \ - > /etc/apt/sources.list.d/stretch.list \ - && apt-get update \ +# Precaching dependencies +RUN apt-get update \ && apt-get install -y --no-install-recommends \ php-image-text \ php-text-captcha \ - && rm -rf /var/lib/apt/lists/* \ - && rm /etc/apt/sources.list.d/stretch.list + hedera-web ARG BUILD_ID=unknown RUN apt-get update \ && apt-get install -y hedera-web \ && rm -rf /var/lib/apt/lists/* +COPY config.my.php /etc/hedera-web/ + CMD ["apachectl", "-D", "FOREGROUND"] diff --git a/debian/changelog b/debian/changelog index 57078f29..f4fe15f2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -hedera-web (1.406.90) stable; urgency=low +hedera-web (1.406.91) stable; urgency=low * Initial Release. diff --git a/package.json b/package.json index 755f4e5e..08c60a7c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "hedera-web", - "version": "1.406.90", + "version": "1.406.91", "description": "Verdnatura web page", "license": "GPL-3.0", "repository": {