Skip to content

Conversation

@fabean
Copy link
Member

@fabean fabean commented Apr 14, 2018

Added the repo for newer versions of php, changed everything to php7.2.
Added the line add-apt-repository ppa:ondrej/php -y | echo 0 separate because otherwise the command didn't exist and the echo 0 makes it work as it was mad that didn't return a 0. It's a bad hack.
I also skipped adding php7.2-mcrypt as it wasn't downloading, not sure what it does and if it's needed.
Can be tested as the docker image fabean/drupal:php7.2

Would in Docker want to take what's currently there and tag it php7.0 then make this the tag php7.2 and once tested and working properly it can be moved to latest.

@fabean fabean requested a review from krknopp April 14, 2018 22:59
ca-certificates curl cron git supervisor mysql-client vim unzip libxml2-dev mime-support ssmtp \
php7.2-fpm php7.2-curl php7.2-gd php7.2-mysql php7.2-gmp php7.2-ldap php7.2-zip \
php7.2-bcmath php-pear php-console-table php-apcu php-mongodb php-ssh2 \
apache2 && apt-get -y --allow-unauthenticated upgrade && rm -r /var/lib/apt/lists/*

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it would be better to install the GPG key
Probably use something like: https://gist.github.com/janus57/37b079a383dd0507149bd94fd35053d1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants