Skip to content

Docker image build failure #1015

@AntoxaBarin

Description

@AntoxaBarin

I'm trying to build Docker image from Dockerfile:

$ docker build .

Build fails:

54.84 E: Unable to locate package llvm-17
54.84 E: Unable to locate package clang-17
54.84 E: Unable to locate package clang-format-17
------
Dockerfile:9
--------------------
   8 |     # cross_pkg_arch: x86-64 or aarch64
   9 | >>> RUN cross_debian_arch=$(uname -m | sed -e 's/aarch64/amd64/'  -e 's/x86_64/arm64/'); \
  10 | >>>     cross_pkg_arch=$(uname -m | sed -e 's/aarch64/x86-64/' -e 's/x86_64/aarch64/'); \
  11 | >>>     apt-get update -y && \
  12 | >>>     apt-get dist-upgrade -y && \
  13 | >>>     apt-get install -y --no-install-recommends --no-install-suggests \
  14 | >>>         curl wget make git cmake unzip libc6-dev g++ gcc pkgconf \
  15 | >>>         llvm-17 clang-17 clang-format-17 ca-certificates \
  16 | >>>         gcc-${cross_pkg_arch}-linux-gnu libc6-${cross_debian_arch}-cross \
  17 | >>>         musl-dev:amd64 musl-dev:arm64 && \
  18 | >>>     apt-get clean autoclean && \
  19 | >>>     apt-get autoremove --yes
  20 |     
--------------------

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions