RobLoach / drush-docker

:whale: Docker Container to run Drush
http://registry.hub.docker.com/u/drush/drush
Other
19 stars 19 forks source link

Use official composer image instead of deprecated one #54

Open ericmaster opened 6 years ago

ericmaster commented 6 years ago

Tracking down the use of an older version of PHP (7.0 instead of 7.2), I noticed from the following line in the base Dockerfile for the alpine version:

FROM composer/composer:alpine

that a deprecated image of composer is being used. We should probably use the office image instead:

FROM composer
GuyPaddock commented 5 years ago

@ericmaster @RobLoach I think we just got burned by the fact that the composer dependency isn't pinned to a specific version. Our build process has been going strong with the drush:8 image for several months, and it has worked well -- but today, after a Docker update, we had to pull down all new images and it appears that rsync is no longer in the drush:8 image. Since there hasn't been a new image for Drush in a while, it appears that the change in image contents originates from composer, though I am having a hard time determining what image was pulled down for composer using the Docker CLI.