8000 Add yaml extension by macbre · Pull Request #38 · elecena/python-php · GitHub
[go: up one dir, main page]

Skip to content

Add yaml extension #38

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

Merged
merged 4 commits into from
Apr 19, 2023
Merged

Add yaml extension #38

merged 4 commits into from
Apr 19, 2023

Conversation

macbre
Copy link
Member
@macbre macbre commented Apr 19, 2023

The image size

Before

REPOSITORY           TAG         IMAGE ID       CREATED        SIZE
elecena/python-php   latest      f627d90abc0b   1 second ago   123MB

With yaml installed

REPOSITORY           TAG         IMAGE ID       CREATED        SIZE
elecena/python-php   latest      d1bfff406ae4   1 second ago   123MB

RUN apk add --virtual build-deps autoconf gcc make g++ zlib-dev yaml-dev \
&& pecl channel-update pecl.php.net \
&& pecl install yaml-2.2.3 && docker-php-ext-enable yaml \
&& apk del build-deps
Copy link
Member Author

Choose a reason for hiding this comment

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

macbre and others added 2 commits April 19, 2023 13:55
Otherwise:

Warning: PHP Startup: Unable to load dynamic library 'yaml' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20220829/yaml (Error loading shared library /usr/local/lib/php/extensions/no-debug-non-zts-20220829/yaml: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20220829/yaml.so (Error loading shared library libyaml-0.so.2: No such file or directory (needed by /usr/local/lib/php/extensions/no-debug-non-zts-20220829/yaml.so))) in Unknown on line 0
@macbre macbre marked this pull request as ready for review April 19, 2023 13:01
@macbre macbre enabled auto-merge April 19, 2023 13:01
@macbre macbre merged commit 848d989 into master Apr 19, 2023
@macbre macbre deleted the add/yaml branch April 19, 2023 13:04
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.

1 participant
0