-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove extracted php src #256
Conversation
- swap spaces to tabs to match - use gnu tar for `--strip-components` - cache known extension list in `/usr/src/` - remove extra output
&& curl -fSL "http://php.net/get/$PHP_FILENAME.asc/from/this/mirror" -o "$PHP_FILENAME.asc" \ | ||
&& mkdir -p /usr/src \ | ||
&& cd /usr/src/ \ | ||
&& curl -fSL "http://php.net/get/$PHP_FILENAME/from/this/mirror" -o php.tar.xz \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
LGTM |
&& cd /usr/src/php \ | ||
&& gpg --batch --verify php.tar.xz.asc php.tar.xz \ | ||
&& rm -r "$GNUPGHOME" \ | ||
&& docker-php-source extract \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since the tar file sticks around in the image after this point, couldn't we split this here and move the COPY
down further? (ie, download PHP, then COPY
, then RUN docker-php-source extract && ...
etc)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Slightly more explicitly stated:
ENV PHP_...
RUN curl ...
COPY docker-php-source ...
RUN docker-php-source ...
LGTM |
- `drupal` bump `8.1.6` and docker-library/drupal#51 - `haproxy` bump to `1.6.7` - `memcached` bump to `1.4.29` - `mongo` bump to `3.2.8` - `owncloud` docker-library/owncloud#74 and docker-library/owncloud#75 - `php` docker-library/php#256 - `tomcat` bump to `8.5.4` and `9.0.0.M9`
Builds upon and closes #245. Thanks to @shouze for all his work on this. I was debugging his changes and decided that it would be clearer to add my improvements on top.
Fixes #234.