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

Docker Command failes #164

Open
ghost opened this issue May 16, 2023 · 4 comments
Open

Docker Command failes #164

ghost opened this issue May 16, 2023 · 4 comments

Comments

@ghost
Copy link

ghost commented May 16, 2023

Docker build failing and showing errors:

##[error]The command '/bin/sh -c mkdir -p /opt/mendix/buildpack /opt/mendix/build && ln -s /root /home/vcap && mkdir -p /home/vcap/.local/bin && ln -s /etc/alternatives/pip3 /home/vcap/.local/bin/pip && pip3 install --upgrade pip && echo "Downloading CF Buildpack from ${CF_BUILDPACK_URL}" && curl -fsSL ${CF_BUILDPACK_URL} -o /tmp/cf-mendix-buildpack.zip && python3 -m zipfile -e /tmp/cf-mendix-buildpack.zip /opt/mendix/buildpack/ && rm /tmp/cf-mendix-buildpack.zip && chown -R ${USER_UID}:0 /opt/mendix && chmod -R g=u /opt/mendix' returned a non-zero code: 127
##[error]The process '/usr/bin/docker' failed with exit code 127

Please check it. Thanks in Advance.

@cookiecurse
Copy link

@xiwenc and @zlogic I second the issue above - we are getting failures when we run our pipeline today - our error has to do with pull permissions and nothing else has changed on our end. Is it possible that the last update Replace Ubuntu with ubi8 has some permissions that were not sorted out yet?

Sorry to bug you!

@xiwenc
Copy link
Contributor

xiwenc commented May 16, 2023

Hi,

Can you provide more details? Like error message. The message above doesnt say much other than "it does not work".

Xiwen

@xiwenc
Copy link
Contributor

xiwenc commented May 16, 2023

Ah yeah, mendix-rootfs:builder cannot be pulled because it does not exist. Follow the instructions at https://github.com/mendix/docker-mendix-buildpack/blob/master/upgrading-from-v4.md to fix.

@ghost
Copy link
Author

ghost commented May 17, 2023

Dear All,

After a call with mendix we have got the following update:

A new version of the Docker Buildpack was released. This new version changes how the docker image is built, not using Ubuntu Bionic anymore (as it will be deprecated this month).

You can find the new version of Docker Buildpack - v.5.0.0 here. This version replaces Ubuntu Bionic with UBI8. To upgrade, please see this document.

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

2 participants