Open OneCodeMonkey opened 1 day ago
You're absolutely right. The usr directory wasn’t committed. I’ll upload the relevant content. Binary or prebuilt content will be ignored. If you encounter another Dockerfile error, simply create an opt or usr directory within each language directory. Thank you!
another error while apt-get install ca-certificates
:
output:
------------> Building image aardvark... <------------
ionice -c 3 docker build -t ryusatgat/ubuntu -f in/Dockerfile.in --build-arg FROM_IMAGE=ubuntu:latest in
[+] Building 245.2s (8/15) docker:default
=> [internal] load build definition from Dockerfile.in 0.0s
=> => transferring dockerfile: 1.16kB 0.0s
=> [internal] load metadata for docker.io/library/ubuntu:latest 0.7s
=> [internal] load .dockerignore 0.0s
=> => transferring context: 2B 0.0s
=> [internal] load build context 0.0s
=> => transferring context: 826B 0.0s
=> [ 1/11] FROM docker.io/library/ubuntu:latest@sha256:34fea4f31bf187bc915536831fd0afc9d214755bf700b5cdb1336c82516d154e 3.5s
=> => resolve docker.io/library/ubuntu:latest@sha256:34fea4f31bf187bc915536831fd0afc9d214755bf700b5cdb1336c82516d154e 0.0s
=> => sha256:34fea4f31bf187bc915536831fd0afc9d214755bf700b5cdb1336c82516d154e 1.42kB / 1.42kB 0.0s
=> => sha256:42ba2dfce475de1113d55602d40af18415897167d47c2045ec7b6d9746ff148f 529B / 529B 0.0s
=> => sha256:df5de72bdb3b711aba4eca685b1f42c722cc8a1837ed3fbd548a9282af2d836d 1.46kB / 1.46kB 0.0s
=> => sha256:d19f32bd9e4106d487f1a703fc2f09c8edadd92db4405d477978e8e466ab290d 30.43MB / 30.43MB 2.1s
=> => extracting sha256:d19f32bd9e4106d487f1a703fc2f09c8edadd92db4405d477978e8e466ab290d 1.2s
=> [ 2/11] RUN apt-get update; apt-get -y upgrade; true 240.4s
=> [ 3/11] RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends binutils net-tools git wget vi 0.2s
=> ERROR [ 4/11] RUN apt install -y ca-certificates && update-ca-certificates 0.2s
------
> [ 4/11] RUN apt install -y ca-certificates && update-ca-certificates:
0.168
0.168 WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
0.168
0.170 Reading package lists...
0.178 Building dependency tree...
0.179 Reading state information...
0.179 Package ca-certificates is not available, but is referred to by another package.
0.179 This may mean that the package is missing, has been obsoleted, or
0.179 is only available from another source
0.179
0.179 E: Package 'ca-certificates' has no installation candidate
------
Dockerfile.in:19
--------------------
17 | RUN apt-get update; apt-get -y upgrade; true
18 | RUN DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends binutils net-tools git wget vim curl adduser sudo locales zip unzip xz-utils bzip2 upx make cmake strace binutils; echo
19 | >>> RUN apt install -y ca-certificates && update-ca-certificates
20 | RUN locale-gen ko_KR.utf8 en_US.utf8
21 |
--------------------
ERROR: failed to solve: process "/bin/sh -c apt install -y ca-certificates && update-ca-certificates" did not complete successfully: exit code: 100
make: *** [Makefile:44:ryusatgat/ubuntu] 错误 1
------------> Building image amp... <------------
ionice -c 3 docker build -t ryusatgat/ubuntu -f in/Dockerfile.in --build-arg FROM_IMAGE=ubuntu:latest in
[+] Building 0.8s (8/15) docker:default
There is no erros in Dockerfile.in
for me.
Remove all docker images, and try rebuild.
There is no erros in
Dockerfile.in
for me. Remove all docker images, and try rebuild.
ok,I'll try fix,thank you.
System:
CentOS Stream release 8
Docker version:Docker version 26.1.3, build b72abbb
Operation:cd /home/www/ryugod/docker/ && ./build_all.sh
output: