Deploy fixes
gitea/hedera-web/pipeline/head Something is wrong with the build of this commit Details

This commit is contained in:
Juan Ferrer 2022-07-27 12:04:56 +02:00
parent 243dd6f44a
commit a68436b330
3 changed files with 27 additions and 24 deletions

View File

@ -5,33 +5,36 @@ ARG VERSION
ENV VERSION $VERSION ENV VERSION $VERSION
ARG DEBIAN_FRONTEND=noninteractive ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y --no-install-recommends \ # NodeJs
RUN curl -fsSL https://deb.nodesource.com/setup_14.x | bash - \
&& apt install -y --no-install-recommends nodejs
# Apache
RUN apt install -y --no-install-recommends \
apache2 \
libapache2-mod-php \
&& . /etc/apache2/envvars \
&& ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log" \
&& ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log" \
&& ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"
RUN a2dissite 000-default
# Hedera
RUN apt install -y --no-install-recommends \
curl \ curl \
ca-certificates \ ca-certificates \
gnupg2 \ gnupg2 \
&& curl -sL https://apt.verdnatura.es/conf/verdnatura.gpg | apt-key add - \ && curl -sL https://apt.verdnatura.es/conf/verdnatura.gpg | apt-key add - \
&& echo "deb http://apt.verdnatura.es/ jessie main" \ && echo "deb http://apt.verdnatura.es/ jessie main" \
> /etc/apt/sources.list.d/vn.list \ > /etc/apt/sources.list.d/vn.list \
&& apt-get update \ && apt update
&& apt-get install -y --no-install-recommends \
apache2 \
libapache2-mod-php \
&& rm -rf /var/lib/apt/lists/* \
&& . /etc/apache2/envvars \
&& ln -sfT /dev/stderr "$APACHE_LOG_DIR/error.log" \
&& ln -sfT /dev/stdout "$APACHE_LOG_DIR/access.log" \
&& ln -sfT /dev/stdout "$APACHE_LOG_DIR/other_vhosts_access.log"
RUN curl -fsSL https://deb.nodesource.com/setup_14.x | bash - \ RUN apt install -y --no-install-recommends \
&& apt-get install -y --no-install-recommends nodejs \
&& rm -rf /var/lib/apt/lists/*
RUN a2dissite 000-default
# Precaching dependencies
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
php-image-text \ php-image-text \
php-text-captcha \ php-text-captcha \
php-apcu \ php-apcu \
@ -41,8 +44,8 @@ RUN apt-get update \
ARG BUILD_ID=unknown ARG BUILD_ID=unknown
RUN echo $VERSION RUN echo $VERSION
RUN apt-get update \ RUN apt update \
&& apt-get install -y php-vn-lib hedera-web=$VERSION \ && apt install -y php-vn-lib hedera-web=$VERSION \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
CMD ["apachectl", "-D", "FOREGROUND"] CMD ["apachectl", "-D", "FOREGROUND"]

2
debian/changelog vendored
View File

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

View File

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