Cannot replicate GitlabCI pipeline failure of build on locally ran Ubuntu docker image

Hello there, first post here and still learning GitlabCI.

This build constantly fails:

A local replicate of .gitlab-ci.yaml constantly works, though with docker-ce:

    docker run -it ubuntu:18.04
    apt update && apt install -y build-essential zlib1g-dev uuid-dev libdigest-sha-perl libelf-dev bc bzip2 bison flex git gnupg iasl m4 nasm patch python wget gnat cpio ccache pkg-config cmake libusb-1.0-0-dev autoconf
    git clone https://github.com/osresearch/heads
    git checkout origin/musl-cross-pin
    cd heads
    make BOARD=x230

What is the difference?!

New gitlabci non-fonctional attempt: https://gitlab.com/tlaurion/heads/-/jobs/353102003