Skip to content

Issue creating docker image #18

@chepo92

Description

@chepo92

I'm getting following issue when creating the image

PS D:\Git\docker-openwrt-build-env> docker build -t openwrt_builder .
[+] Building 83.2s (6/8)                                                                                                                       docker:default 
 => [internal] load build definition from Dockerfile                                                                                                     0.0s 
 => => transferring dockerfile: 765B                                                                                                                     0.0s 
 => [internal] load .dockerignore                                                                                                                        0.0s 
 => => transferring context: 2B                                                                                                                          0.0s 
 => [internal] load metadata for docker.io/library/debian:buster                                                                                         2.8s 
 => [auth] library/debian:pull token for registry-1.docker.io                                                                                            0.0s 
 => [1/4] FROM docker.io/library/debian:buster@sha256:58ce6f1271ae1c8a2006ff7d3e54e9874d839f573d8009c20154ad0f2fb0a225                                  52.2s 
 => => resolve docker.io/library/debian:buster@sha256:58ce6f1271ae1c8a2006ff7d3e54e9874d839f573d8009c20154ad0f2fb0a225                                   0.0s 
 => => sha256:58ce6f1271ae1c8a2006ff7d3e54e9874d839f573d8009c20154ad0f2fb0a225 984B / 984B                                                               0.0s 
 => => sha256:2a0c1b9175adf759420fe0fbd7f5b449038319171eb76554bb76cbe172b62b42 529B / 529B                                                               0.0s 
 => => sha256:69530eaa9e7e18d0aad40c38b75a22b40c6ebdc374c059bd5f2eb07042caa50a 1.46kB / 1.46kB                                                           0.0s 
 => => sha256:3892befd2c3f36ceb247ba7d906de12601d69b806597e65c4c837cf3d93df119 50.66MB / 50.66MB                                                        41.7s 
 => => extracting sha256:3892befd2c3f36ceb247ba7d906de12601d69b806597e65c4c837cf3d93df119                                                                4.4s 
 => ERROR [2/4] RUN apt-get update &&    apt-get install -y         sudo time git-core subversion build-essential g++ bash make         libssl-dev pat  27.8s 
------
 > [2/4] RUN apt-get update &&    apt-get install -y         sudo time git-core subversion build-essential g++ bash make         libssl-dev patch libncurses5 
libncurses5-dev zlib1g-dev gawk         flex gettext wget unzip xz-utils python python-distutils-extra         python3 python3-distutils-extra python3-setuptools swig rsync curl         libsnmp-dev liblzma-dev libpam0g-dev cpio rsync gcc-multilib qemu-utils &&     apt-get clean &&     useradd -m user &&     echo 'user ALL=NOPASSWD: ALL' > /etc/sudoers.d/user:
2.156 Ign:1 http://deb.debian.org/debian buster InRelease
2.392 Ign:2 http://deb.debian.org/debian-security buster/updates InRelease
2.416 Ign:3 http://deb.debian.org/debian buster-updates InRelease
2.443 Err:4 http://deb.debian.org/debian buster Release
2.443   404  Not Found [IP: 151.101.222.132 80]
2.675 Err:5 http://deb.debian.org/debian-security buster/updates Release
2.675   404  Not Found [IP: 151.101.222.132 80]
2.719 Err:6 http://deb.debian.org/debian buster-updates Release
2.719   404  Not Found [IP: 151.101.222.132 80]
2.725 Reading package lists...
2.736 E: The repository 'http://deb.debian.org/debian buster Release' does not have a Release file.
2.736 E: The repository 'http://deb.debian.org/debian-security buster/updates Release' does not have a Release file.
2.736 E: The repository 'http://deb.debian.org/debian buster-updates Release' does not have a Release file.
------
--------------------
   2 |
   3 | >>> RUN apt-get update &&\
   4 | >>>     apt-get install -y \
   5 | >>>         sudo time git-core subversion build-essential g++ bash make \
   6 | >>>         libssl-dev patch libncurses5 libncurses5-dev zlib1g-dev gawk \
   7 | >>>         flex gettext wget unzip xz-utils python python-distutils-extra \
   8 | >>>         python3 python3-distutils-extra python3-setuptools swig rsync curl \
   9 | >>>         libsnmp-dev liblzma-dev libpam0g-dev cpio rsync gcc-multilib qemu-utils && \
  10 | >>>     apt-get clean && \
  11 | >>>     useradd -m user && \
  12 | >>>     echo 'user ALL=NOPASSWD: ALL' > /etc/sudoers.d/user
  13 |
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update &&    apt-get install -y         sudo time git-core subversion build-essential g++ bash make         libssl-dev patch libncurses5 libncurses5-dev zlib1g-dev gawk         flex gettext wget unzip xz-utils python python-distutils-extra         python3 python3-distutils-extra python3-setuptools swig rsync curl         libsnmp-dev liblzma-dev libpam0g-dev cpio rsync gcc-multilib qemu-utils &&     apt-get clean &&     useradd -m user &&     echo 'user ALL=NOPASSWD: ALL' > /etc/sudoers.d/user" did not complete successfully: exit code: 100

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions