Needed dependency to add repository, in order to add PHP 7.2

This commit is contained in:
William Miceli
2019-03-15 17:31:18 -04:00
parent 8f12e5179e
commit 956de91409

View File

@@ -4,7 +4,8 @@ FROM nginx:stable
ARG GRAV_VERSION=1.5.8 ARG GRAV_VERSION=1.5.8
# Install dependencies # Install dependencies
RUN add-apt-repository ppa:ondrej/php && \ RUN apt-get install software-properties-common && \
add-apt-repository ppa:ondrej/php && \
apt-get update && \ apt-get update && \
apt-get install -y sudo wget unzip && \ apt-get install -y sudo wget unzip && \
# Install PHP 7.2 and Module Requirements for Grav # Install PHP 7.2 and Module Requirements for Grav