Fix #1 Build failing: Errors were encountered while processing: postgresql-client-9.6
This commit is contained in:
parent
37d919bef8
commit
21be77b8fb
@ -14,10 +14,12 @@ ENV PGHOST=rosariosisdb \
|
|||||||
ROSARIOSIS_YEAR=2018 \
|
ROSARIOSIS_YEAR=2018 \
|
||||||
ROSARIOSIS_LANG='en_US'
|
ROSARIOSIS_LANG='en_US'
|
||||||
|
|
||||||
|
# Fix #1 Build failing: Errors were encountered while processing: postgresql-client-9.6.
|
||||||
|
RUN mkdir -p /usr/share/man/man1 && \
|
||||||
|
mkdir -p /usr/share/man/man7;
|
||||||
|
|
||||||
# Upgrade packages.
|
# Upgrade packages.
|
||||||
# Install git, Apache2 + PHP + PostgreSQL webserver, sendmail, wkhtmltopdf & others utilities.
|
# Install git, Apache2 + PHP + PostgreSQL webserver, sendmail, wkhtmltopdf & others utilities.
|
||||||
|
|
||||||
# Change date to force an upgrade:
|
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
apt-get upgrade -y && \
|
apt-get upgrade -y && \
|
||||||
apt-get install postgresql-client wkhtmltopdf libpq-dev libpng-dev libxml2-dev sendmail -y;
|
apt-get install postgresql-client wkhtmltopdf libpq-dev libpng-dev libxml2-dev sendmail -y;
|
||||||
@ -26,7 +28,7 @@ RUN docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr; \
|
|||||||
docker-php-ext-install -j$(nproc) gd mbstring xml pgsql gettext xmlrpc
|
docker-php-ext-install -j$(nproc) gd mbstring xml pgsql gettext xmlrpc
|
||||||
|
|
||||||
# Download and extract rosariosis
|
# Download and extract rosariosis
|
||||||
ENV ROSARIOSIS_VERSION 'v4.3.2'
|
ENV ROSARIOSIS_VERSION 'v4.7.1'
|
||||||
RUN mkdir /usr/src/rosariosis && \
|
RUN mkdir /usr/src/rosariosis && \
|
||||||
curl -L https://gitlab.com/francoisjacquet/rosariosis/-/archive/${ROSARIOSIS_VERSION}/rosariosis-${ROSARIOSIS_VERSION}.tar.gz \
|
curl -L https://gitlab.com/francoisjacquet/rosariosis/-/archive/${ROSARIOSIS_VERSION}/rosariosis-${ROSARIOSIS_VERSION}.tar.gz \
|
||||||
| tar xz --strip-components=1 -C /usr/src/rosariosis && \
|
| tar xz --strip-components=1 -C /usr/src/rosariosis && \
|
||||||
@ -39,7 +41,6 @@ COPY conf/config.inc.php /usr/src/rosariosis/config.inc.php
|
|||||||
COPY conf/.htaccess /usr/src/rosariosis/.htaccess
|
COPY conf/.htaccess /usr/src/rosariosis/.htaccess
|
||||||
COPY bin/init /init
|
COPY bin/init /init
|
||||||
|
|
||||||
|
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
ENTRYPOINT ["/init"]
|
ENTRYPOINT ["/init"]
|
||||||
|
Loading…
Reference in New Issue
Block a user