-
Notifications
You must be signed in to change notification settings - Fork 331
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
Building RHEL8 7.2 RUN /usr/libexec/container-setup && rpm-file-permissions Fails #281
Comments
Same with building 7.3 rhel8 2020-02-11T23:32:34.4892173Z Step 11/19 : RUN /usr/libexec/container-setup && rpm-file-permissions |
FIX Add above the problematic step. USER root |
Hi @redstorm1, thanks for opening the issue. |
building s2i-php-container-master\7.2\Dockerfile.rhel8
The step
RUN /usr/libexec/container-setup && rpm-file-permissions
fails with access denide. have tried USER root just prior to this step same result.
020-02-11T23:23:38.0488316Z Step 11/20 : USER root
2020-02-11T23:23:38.0799226Z ---> Running in 71a0b64c4812
2020-02-11T23:23:39.0453161Z Removing intermediate container 71a0b64c4812
2020-02-11T23:23:39.0454474Z ---> ecb16ff6ae3e
2020-02-11T23:23:39.0454914Z Step 12/20 : RUN /usr/libexec/container-setup && rpm-file-permissions
2020-02-11T23:23:39.0744783Z ---> Running in 8c5c1dc02804
2020-02-11T23:23:39.3000133Z �[91m/bin/sh: /usr/libexec/container-setup: Permission denied
2020-02-11T23:23:39.4626100Z �[0mThe command '/bin/sh -c /usr/libexec/container-setup && rpm-file-permissions' returned a non-zero code: 126
2020-02-11T23:23:39.4739985Z ##[error]The command '/bin/sh -c /usr/libexec/container-setup && rpm-file-permissions' returned a non-zero code: 126
2020-02-11T23:23:39.4779070Z ##[error]The process '/usr/bin/docker' failed with exit code 126
2020-02-11T23:23:39.4868737Z ##[section]Finishing: buildAndPush
The text was updated successfully, but these errors were encountered: