set date label

pull/1/head
chris 2020-08-14 08:39:01 +02:00
parent fca1251a0d
commit 1bd5617883
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
FROM reg.zknt.org/zknt/debian-php:7.4 as builder FROM reg.zknt.org/zknt/debian-php:7.4 as builder
ARG DATE
RUN set -xe;\ RUN set -xe;\
apt-install git unzip php-curl php-zip php-bcmath php-intl php-mbstring php-xml composer &&\ apt-install git unzip php-curl php-zip php-bcmath php-intl php-mbstring php-xml composer &&\
composer global require hirak/prestissimo --no-interaction --no-suggest --prefer-dist &&\ composer global require hirak/prestissimo --no-interaction --no-suggest --prefer-dist &&\
@ -26,3 +28,5 @@ RUN apt-install php-curl php-zip php-bcmath php-intl php-mbstring php-xml optipn
WORKDIR /var/www WORKDIR /var/www
VOLUME /var/www/storage /var/www/bootstrap VOLUME /var/www/storage /var/www/bootstrap
ENTRYPOINT /entrypoint.sh ENTRYPOINT /entrypoint.sh
LABEL build.date=$DATE