0
1
Fork 0

Docker downgrade to stretch

This commit is contained in:
Juan Ferrer 2020-01-22 19:47:14 +01:00
parent ed45e02a82
commit b7ce16b034
3 changed files with 9 additions and 9 deletions

View File

@ -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"]

2
debian/changelog vendored
View File

@ -1,4 +1,4 @@
hedera-web (1.406.90) stable; urgency=low
hedera-web (1.406.91) stable; urgency=low
* Initial Release.

View File

@ -1,6 +1,6 @@
{
"name": "hedera-web",
"version": "1.406.90",
"version": "1.406.91",
"description": "Verdnatura web page",
"license": "GPL-3.0",
"repository": {