MiRoboticsLab / MiRoboticsLab/blogs

docker构建镜像终止运行

Open
#94 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
80
Forks
30
PR merge metrics
No merged PRs in 30d

Description

docker构建镜像终止于第六部分
image
终止代码(这是修改加入 -y **参数后依然报错)

image

终止代码(这是修改加入 -y 参数后依然报错)

101.8   python3.6-minimal readline-common shared-mime-info xdg-user-dirs xz-utils
101.8 The following packages will be DOWNGRADED:
101.8   perl-base
101.8 0 upgraded, 133 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
101.8 E: Packages were downgraded and -y was used without --allow-downgrades.
------
Dockerfile:34
--------------------
  33 |
  34 | >>> RUN wget https://cnbj2m.fds.api.xiaomi.com/bsp-internal/ROS/open-source-docker-depends/base-deb.tar.gz \
  35 | >>> && tar -xzvf base-deb.tar.gz \
  36 | >>> && cp base-deb/*.deb /var/cache/apt/archives/ \
  37 | >>> && apt install -y --no-install-recommends /var/cache/apt/archives/*.deb \
  38 | >>> && rm -rf *
  39 |
--------------------
ERROR: failed to solve: process "/bin/sh -c wget https://cnbj2m.fds.api.xiaomi.com/bsp-internal/ROS/open-source-docker-depends/base-deb.tar.gz && tar -xzvf base-deb.tar.gz && cp base-deb/*.deb /var/cache/apt/archives/ && apt install -y --no-install-recommends /var/cache/apt/archives/*.deb && rm -rf *" did not complete successfully: exit code: 100

image

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure in Dockerfile lines 34–38, focusing on the apt install command and the reported perl-base downgrade. Verify the build no longer exits with code 100 and that the dependency installation completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker
Domain
build-system, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.