forked from dockers/pixelfed
set date label
This commit is contained in:
parent
fca1251a0d
commit
1bd5617883
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue