Syntax does not work like I had expected, so tweaked a few things

This commit is contained in:
William Miceli
2019-03-15 17:26:31 -04:00
parent 5527062299
commit 8f12e5179e

View File

@@ -6,14 +6,11 @@ ARG GRAV_VERSION=1.5.8
# Install dependencies # Install dependencies
RUN add-apt-repository ppa:ondrej/php && \ RUN add-apt-repository ppa:ondrej/php && \
apt-get update && \ apt-get update && \
apt-get install -y sudo wget unzip php-pclzip && \ apt-get install -y sudo wget unzip && \
# Install PHP 7.2 and Required Modules for Grav # Install PHP 7.2 and Module Requirements for Grav
apt-get install -y \
php7.2 \ php7.2 \
php7.2-curl \ php7.2-curl \
php7.2-gd # \ php7.2-gd
# php7.2-json \
# php7.2-mbstring \
ADD https://github.com/krallin/tini/releases/download/v0.13.2/tini /usr/local/bin/tini ADD https://github.com/krallin/tini/releases/download/v0.13.2/tini /usr/local/bin/tini
RUN chmod +x /usr/local/bin/tini RUN chmod +x /usr/local/bin/tini