Skip to content
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

podman build #37

Open
trickert76 opened this issue Jan 26, 2021 · 1 comment
Open

podman build #37

trickert76 opened this issue Jan 26, 2021 · 1 comment

Comments

@trickert76
Copy link

Hi,

because it exists, I try to run the image via podman v2.2.1. For that I need to build it. But during build process on the task

RUN pecl install apcu \
    && pecl install yaml-2.0.4 \
    && docker-php-ext-enable apcu yaml

I'm getting this output and the build process stops. I think it asked for user input.

STEP 6: RUN pecl install apcu     && pecl install yaml-2.0.4     && docker-php-ext-enable apcu yaml
downloading apcu-5.1.19.tgz ...
Starting to download apcu-5.1.19.tgz (96,583 bytes)
.....................done: 96,583 bytes
45 source files, building
running: phpize
Configuring for:
PHP Api Version:         20190902
Zend Module Api No:      20190902
Zend Extension Api No:   320190902
Enable internal debugging in APCu [no] : 

Nothing happens - it waits. I can't find any command switch like -yes or -no in pecl. I know, that is maybe not your issue, but maybe you've an idea.

@defaultroute-eu
Copy link

Hi trickert76,

I had the same problem with podman today and was able to fix it by changing the line to:

RUN yes '' | pecl install apcu \
    && yes '' | pecl install yaml-2.0.4 \
    && docker-php-ext-enable apcu yaml

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

No branches or pull requests

1 participant