docker-mendix-buildpack icon indicating copy to clipboard operation
docker-mendix-buildpack copied to clipboard

Docker Command failes

Open ghost opened this issue 1 year ago • 4 comments

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.

ghost avatar May 16 '23 14:05 ghost

@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!

cookiecurse avatar May 16 '23 16:05 cookiecurse

Hi,

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

Xiwen

xiwenc avatar May 16 '23 16:05 xiwenc

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.

xiwenc avatar May 16 '23 16:05 xiwenc

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.

ghost avatar May 17 '23 06:05 ghost