BUGFIX: version tag was not being read
This commit is contained in:
parent
982c704ea3
commit
ce53b441e6
@ -16,6 +16,7 @@ ENV COMPOSER_ALLOW_SUPERUSER=1 DEBIAN_FRONTEND=noninteractive
|
|||||||
|
|
||||||
COPY --from=nodebuilder --chown=www-data:www-data /tmp/buildir/webcron ${WEBCRON_ROOT}
|
COPY --from=nodebuilder --chown=www-data:www-data /tmp/buildir/webcron ${WEBCRON_ROOT}
|
||||||
|
|
||||||
|
ARG version
|
||||||
RUN sed -ri -e "s!/var/www/html!${APACHE_DOCUMENT_ROOT}!g" /etc/apache2/sites-available/*.conf
|
RUN sed -ri -e "s!/var/www/html!${APACHE_DOCUMENT_ROOT}!g" /etc/apache2/sites-available/*.conf
|
||||||
RUN sed -ri -e "s!/var/www/!${APACHE_DOCUMENT_ROOT}!g" /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf
|
RUN sed -ri -e "s!/var/www/!${APACHE_DOCUMENT_ROOT}!g" /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf
|
||||||
RUN a2enmod rewrite
|
RUN a2enmod rewrite
|
||||||
|
@ -4,6 +4,7 @@ ENV APACHE_DOCUMENT_ROOT=/var/www/webcron/public/
|
|||||||
ENV WEBCRON_ROOT=/var/www/webcron/
|
ENV WEBCRON_ROOT=/var/www/webcron/
|
||||||
ENV TZ=Europe/Brussels
|
ENV TZ=Europe/Brussels
|
||||||
ENV COMPOSER_ALLOW_SUPERUSER=1 DEBIAN_FRONTEND=noninteractive
|
ENV COMPOSER_ALLOW_SUPERUSER=1 DEBIAN_FRONTEND=noninteractive
|
||||||
|
ARG version
|
||||||
|
|
||||||
RUN git clone https://git.jeroened.be/webcron/webcron.git ${WEBCRON_ROOT}
|
RUN git clone https://git.jeroened.be/webcron/webcron.git ${WEBCRON_ROOT}
|
||||||
|
|
||||||
|
@ -16,6 +16,7 @@ ENV COMPOSER_ALLOW_SUPERUSER=1 DEBIAN_FRONTEND=noninteractive
|
|||||||
|
|
||||||
COPY --from=nodebuilder --chown=www-data:www-data /tmp/buildir/webcron ${WEBCRON_ROOT}
|
COPY --from=nodebuilder --chown=www-data:www-data /tmp/buildir/webcron ${WEBCRON_ROOT}
|
||||||
|
|
||||||
|
ARG version
|
||||||
RUN sed -ri -e "s!/var/www/html!${APACHE_DOCUMENT_ROOT}!g" /etc/apache2/sites-available/*.conf
|
RUN sed -ri -e "s!/var/www/html!${APACHE_DOCUMENT_ROOT}!g" /etc/apache2/sites-available/*.conf
|
||||||
RUN sed -ri -e "s!/var/www/!${APACHE_DOCUMENT_ROOT}!g" /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf
|
RUN sed -ri -e "s!/var/www/!${APACHE_DOCUMENT_ROOT}!g" /etc/apache2/apache2.conf /etc/apache2/conf-available/*.conf
|
||||||
RUN a2enmod rewrite
|
RUN a2enmod rewrite
|
||||||
|
Loading…
Reference in New Issue
Block a user