]> git.ipfire.org Git - thirdparty/qemu.git/commit
gitlab/opensbi: Move to docker:stable
authorPalmer Dabbelt <palmer@rivosinc.com>
Fri, 3 Mar 2023 20:24:47 +0000 (12:24 -0800)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 24 Apr 2024 09:30:47 +0000 (12:30 +0300)
commit6ea6863f215c7f1f3cf7756dc5876a67ba2b90fc
treefa62777da30864cfd98ef3108ea814d6c3f360b3
parent861fca8ce0c0837a3244d29be2cb15565852bf86
gitlab/opensbi: Move to docker:stable

The OpenSBI build has been using docker:19.03.1, which appears to be old
enough that v2 of the manifest is no longer supported.  Something has
started serving us those manifests, resulting in errors along the lines
of

    $ docker build --cache-from $IMAGE_TAG --tag $CI_REGISTRY_IMAGE:$CI_COMMIT_SHA --tag $IMAGE_TAG .gitlab-ci.d/opensbi
    Step 1/7 : FROM ubuntu:18.04
    18.04: Pulling from library/ubuntu
    mediaType in manifest should be 'application/vnd.docker.distribution.manifest.v2+json' not 'application/vnd.oci.image.manifest.v1+json'

This moves to docker:stable, as was suggested by the template.  It also
adds the python3 package via apt, as OpenSBI requires that to build.

Reviewed-by: Bin Meng <bmeng@tinylab.org>
Message-ID: <20230303202448.11911-2-palmer@rivosinc.com>
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
(cherry picked from commit 7bc1286b81d4e8380b3083beed1771c67ce87af3)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
.gitlab-ci.d/opensbi.yml
.gitlab-ci.d/opensbi/Dockerfile