Skip to content

url invalid when setup docker env #3

Description

@wuxiaoqiang12

The url in dockerfile is invalid http://archive.ubuntu.com/ubuntu/pool/main/c/ca-certificates/ca-certificates_20230311ubuntu0.20.04.1_all.deb

$ cd rl_docker
$ bash build.sh
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  32.26kB
Step 1/17 : FROM nvcr.io/nvidia/pytorch:22.12-py3
 ---> 1d9a58a6fcf5
Step 2/17 : WORKDIR /home/root/rl_ws
 ---> Using cache
 ---> 82effe4a6b10
Step 3/17 : ENV LANG C.UTF-8
 ---> Using cache
 ---> 7b94a9bb15aa
Step 4/17 : ENV LC_ALL C.UTF-8
 ---> Using cache
 ---> 86f9ac348f48
Step 5/17 : ENV DEBIAN_FRONTEND noninteractive
 ---> Using cache
 ---> 3f9a168b09f6
Step 6/17 : RUN apt-get install -q -y --no-install-recommends wget && wget http://archive.ubuntu.com/ubuntu/pool/main/c/ca-certificates/ca-certificates_20230311ubuntu0.20.04.1_all.deb && dpkg -i ./ca-certificates_20230311ubuntu0.20.04.1_all.deb
 ---> Running in 87350973b014
Reading package lists...
Building dependency tree...
Reading state information...
wget is already the newest version (1.20.3-1ubuntu2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--2025-03-28 16:28:38--  http://archive.ubuntu.com/ubuntu/pool/main/c/ca-certificates/ca-certificates_20230311ubuntu0.20.04.1_all.deb
Resolving archive.ubuntu.com (archive.ubuntu.com)... 91.189.91.82, 91.189.91.83, 185.125.190.83, ...
Connecting to archive.ubuntu.com (archive.ubuntu.com)|91.189.91.82|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2025-03-28 16:28:39 ERROR 404: Not Found.

The command '/bin/sh -c apt-get install -q -y --no-install-recommends wget && wget http://archive.ubuntu.com/ubuntu/pool/main/c/ca-certificates/ca-certificates_20230311ubuntu0.20.04.1_all.deb && dpkg -i ./ca-certificates_20230311ubuntu0.20.04.1_all.deb' returned a non-zero code: 8

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