Skip to content

the docker does not build anymore due to the outdated repo #1

@gogo2464

Description

@gogo2464

The command great_scott$ sudo docker build -t great_scott . shows:

12.81 Ign:9 http://deb.debian.org/debian stretch/main all Packages
12.85 Err:10 http://deb.debian.org/debian stretch/main amd64 Packages
12.85   404  Not Found [IP: 151.101.66.132 80]
12.93 Err:11 http://deb.debian.org/debian stretch-updates/main amd64 Packages
12.93   404  Not Found [IP: 151.101.66.132 80]
13.05 Ign:12 http://deb.debian.org/debian stretch-updates/main all Packages
13.07 Reading package lists...
13.08 W: The repository 'http://security.debian.org/debian-security stretch/updates Release' does not have a Release file.
13.09 W: The repository 'http://deb.debian.org/debian stretch Release' does not have a Release file.
13.09 W: The repository 'http://deb.debian.org/debian stretch-updates Release' does not have a Release file.
13.09 E: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/main/binary-amd64/Packages  404  Not Found [IP: 151.101.2.132 80]
13.09 E: Failed to fetch http://deb.debian.org/debian/dists/stretch/main/binary-amd64/Packages  404  Not Found [IP: 151.101.66.132 80]
13.09 E: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/main/binary-amd64/Packages  404  Not Found [IP: 151.101.66.132 80]
13.09 E: Some index files failed to download. They have been ignored, or old ones used instead.
------
Dockerfile:3
--------------------
   1 |     FROM ruby:2.5.1
   2 |     
   3 | >>> RUN apt-get update && apt-get install -y sqlite3 nodejs && rm -rf /var/lib/apt/lists/*
   4 |     
   5 |     WORKDIR /usr/src/app
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get install -y sqlite3 nodejs && rm -rf /var/lib/apt/lists/*" did not complete successfully: exit code: 100

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