Skip to content
This repository was archived by the owner on Apr 15, 2025. It is now read-only.
This repository was archived by the owner on Apr 15, 2025. It is now read-only.

Docker build fails on apt-get install #44

@Permafacture

Description

@Permafacture
mymachine:~/newsqa$ docker build -t maluuba/newsqa .
[+] Building 20.1s (7/14)                                                                                                                                                                                                      docker:default
 => [internal] load build definition from Dockerfile                                                                                                                                                                                     0.1s
 => => transferring dockerfile: 993B                                                                                                                                                                                                     0.0s
 => [internal] load .dockerignore                                                                                                                                                                                                        0.1s
 => => transferring context: 2B                                                                                                                                                                                                          0.0s
 => [internal] load metadata for docker.io/continuumio/miniconda:4.5.11                                                                                                                                                                  0.8s
 => [1/9] FROM docker.io/continuumio/miniconda:4.5.11@sha256:b8b8c641ef01a27280f712971bf47abc29556844d2cf1dbe35a82776a0ca010e                                                                                                           17.7s
 => => resolve docker.io/continuumio/miniconda:4.5.11@sha256:b8b8c641ef01a27280f712971bf47abc29556844d2cf1dbe35a82776a0ca010e                                                                                                            0.0s
 => => sha256:b8b8c641ef01a27280f712971bf47abc29556844d2cf1dbe35a82776a0ca010e 1.16kB / 1.16kB                                                                                                                                           0.0s
 => => sha256:db6fb3419fc6fae0a66d32845c23d3ff222bd0a929a1fa6b68cc2e989fc65de0 3.62kB / 3.62kB                                                                                                                                           0.0s
 => => sha256:05d1a5232b461a4b35424129580054caa878cd56f100e34282510bd4b4082e4d 45.31MB / 45.31MB                                                                                                                                         1.0s
 => => sha256:b9fcb82320a4dcca7892d22e5477d9dea2286a8c892828886f1df491559c36d7 95.44MB / 95.44MB                                                                                                                                         3.8s
 => => sha256:e5691d1765c82e682b16e8407070146efa70ccc6cb3fbeab0e5e88100f922e64 94.96MB / 94.96MB                                                                                                                                         2.6s
 => => extracting sha256:05d1a5232b461a4b35424129580054caa878cd56f100e34282510bd4b4082e4d                                                                                                                                                2.1s
 => => sha256:8b1e1c2dc31f271091983602dd730348d69f6dd67fbb0e6615c08b7ecf6d65d4 1.31MB / 1.31MB                                                                                                                                           1.4s
 => => extracting sha256:e5691d1765c82e682b16e8407070146efa70ccc6cb3fbeab0e5e88100f922e64                                                                                                                                                2.4s
 => => extracting sha256:b9fcb82320a4dcca7892d22e5477d9dea2286a8c892828886f1df491559c36d7                                                                                                                                                2.9s
 => => extracting sha256:8b1e1c2dc31f271091983602dd730348d69f6dd67fbb0e6615c08b7ecf6d65d4                                                                                                                                                0.1s
 => [internal] load build context                                                                                                                                                                                                        0.1s
 => => transferring context: 66B                                                                                                                                                                                                         0.0s
 => https://nlp.stanford.edu/software/stanford-postagger-2015-12-09.zip                                                                                                                                                                  3.9s
 => ERROR [2/9] RUN apt-get update && apt-get install --yes default-jdk                                                                                                                                                                  1.3s
------
 > [2/9] RUN apt-get update && apt-get install --yes default-jdk:
0.358 Ign:1 http://deb.debian.org/debian stretch InRelease
0.363 Ign:2 http://security.debian.org/debian-security stretch/updates InRelease
0.376 Ign:3 http://deb.debian.org/debian stretch-updates InRelease
0.381 Err:4 http://security.debian.org/debian-security stretch/updates Release
0.381   404  Not Found
0.395 Err:5 http://deb.debian.org/debian stretch Release
0.395   404  Not Found
0.413 Err:6 http://deb.debian.org/debian stretch-updates Release
0.413   404  Not Found
0.416 Reading package lists...
0.874 E: The repository 'http://security.debian.org/debian-security stretch/updates Release' does no longer have a Release file.
0.874 E: The repository 'http://deb.debian.org/debian stretch Release' does no longer have a Release file.
0.874 E: The repository 'http://deb.debian.org/debian stretch-updates Release' does no longer have a Release file.
------
Dockerfile:4
--------------------
   2 |
   3 |     # Install JDK.
   4 | >>> RUN apt-get update && apt-get install --yes default-jdk
   5 |
   6 |     RUN echo ". /opt/conda/etc/profile.d/conda.sh" >> ~/.bashrc
--------------------
ERROR: failed to solve: process "/bin/sh -c apt-get update && apt-get install --yes default-jdk" did not complete successfully: exit code: 100

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions