Skip to content

Add fpm-alpine variant#129

Closed
ncopa wants to merge 1 commit intodocker-library:masterfrom
ncopa:wordpress-fpm-alpine
Closed

Add fpm-alpine variant#129
ncopa wants to merge 1 commit intodocker-library:masterfrom
ncopa:wordpress-fpm-alpine

Conversation

@ncopa
Copy link
Copy Markdown
Contributor

@ncopa ncopa commented Feb 22, 2016

@bbigras
Copy link
Copy Markdown

bbigras commented May 31, 2016

Any update on this? Alpine based images are a lot smaller.

@yosifkit
Copy link
Copy Markdown
Member

I think there are a few bugs to resolve in the php image before we push it to child images (docker-library/php#206 (comment), docker-library/php#234).

@shouze
Copy link
Copy Markdown

shouze commented Jun 2, 2016

ping @ncopa @yosifkit could you take a look at my attempt to fix docker-library/php#206 (comment) with docker-library/php#237?

@shouze
Copy link
Copy Markdown

shouze commented Jun 23, 2016

ping @ncopa docker-library/php#245 review welcome ;)

Comment thread fpm/alpine/Dockerfile
&& docker-php-ext-configure gd --with-png-dir=/usr --with-jpeg-dir=/usr \
&& docker-php-ext-install gd mysqli opcache \
&& find /usr/local/lib/php/extensions -name '*.a' -delete \
&& find /usr/local/lib/php/extensions -name '*.so' -exec strip --strip-all '{}' \; \
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Given that PHP's own Dockerfile strips all the executables it installs, I wonder if it wouldn't be more appropriate for docker-php-ext-install to do so as well (certainly would be more appropriate IMO to do this there generally than to do so here as a special case).

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.

5 participants