Skip to content

Unable build docker-compose #64

@alvaver

Description

@alvaver

Hello Dimalo. I run docker-compose build on my custom board with S905X2 SoC. Image builded in the buildroot project. It has docker engine and docker-compose. And I get the error:

    × Building wheel for ninja (pyproject.toml) did not run successfully.
   │ exit code: 1
   ╰─> [13 lines of output]
       /tmp/pip-build-env-5eyd4zei/overlay/lib/python3.10/site-packages/setuptools_scm/git.py:308: UserWarning: git archive did not  support describe output

I apply this patch:

diff --git a/klipper/Dockerfile b/klipper/Dockerfile
index fa602f9..a1c1557 100644
--- a/klipper/Dockerfile
+++ b/klipper/Dockerfile
@@ -19,6 +19,7 @@ RUN apt-get update && \
        git \
        sudo \
        wget \
+       ninja-build \
        curl \
        gzip \
        tar \

And this solves my problem, maybe it will help others too

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions