baidu / baidu/unit-dmkit

dockerfile 安装问题

Open
#114 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
321
Forks
114
PR merge metrics
No merged PRs in 30d

Description

total 4
-rw-r--r-- 1 root root 302 Feb 11 20:33 Dockerfile
[root@localhost DMKIT]# docker build -t dmkitc:v1 .
Sending build context to Docker daemon 2.048kB
Step 1/8 : FROM ubuntu:18.04
---> ccc6e87d482b
Step 2/8 : WORKDIR /unit-dmkit
---> Using cache
---> aac52554312e
Step 3/8 : COPY . /unit-dmkit
---> Using cache
---> 4fc05114b593
Step 4/8 : RUN apt-get update && apt-get install -y --no-install-recommends sudo cmake wget vim curl ca-certificates
---> Using cache
---> 79f68d5bd70b
Step 5/8 : RUN update-ca-certificates
---> Using cache
---> d1c4faa323c9
Step 6/8 : RUN sh deps.sh ubuntu
---> Running in 71db71fde67a
sh: 0: Can't open deps.sh
The command '/bin/sh -c sh deps.sh ubuntu' returned a non-zero code: 127

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the Dockerfile steps around COPY and RUN sh deps.sh ubuntu, then inspect whether deps.sh is available in the copied build context. Reproduce the reported docker build command and trace why step 6 cannot open deps.sh; done means the installation build proceeds past that step.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.