set date label
parent
fca1251a0d
commit
1bd5617883
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue