Closed stolltho closed 3 years ago
Hi, this seems to be a HTTP timeout while downloading tensorflow. Are you working in a place with particularly bad internet? https://stackoverflow.com/questions/66140105/keyerror-when-installing-tensorflow I will try to add a timeout extension in the dockerfile later today.
About the Bioinf Jena issues, to me that looks like a firewall issue on your laptop. Since the Maven build is the first step in the Docker file, it seems to be working on your second laptop, so I can't think of anything else that would be the problem. Except if your Maven image is somehow broken, but I don't see why that should be the case.
I guess I will also push a pre-built image to Docker registry (but for the sake of reproducibility the build should still work...)
OK, so:
docker pull stravsm/msnovelist
. It is quite heavyweight - as I understand it, most of it is from the conda install. Note: then you also need to run stravsm/msnovelist
instead of msnovelist
.Thanks, I can now confirm that the installation via docker pull stravsm/msnovelist
(~6.5 GB) and docker build . -t msnovelist
both work
Super, thanks for testing and reporting!
Hi, Tried to build msnovelist on two different laptops @ two different locations, but get two different errors back. One laptop repeatedly errors when downloading packages from Bioinf Uni Jena (log not shown) and the other has a problem w/ Conda pip download (see below). On actual institute PCs I can't even break through the firewall to download packages using the Powershell (so annoying). Cheers, Thomas
Windows PowerShell Copyright (C) Microsoft Corporation. All rights reserved.
Try the new cross-platform PowerShell https://aka.ms/pscore6
PS C:> cd .\temp\MSNovelist\ PS C:\temp\MSNovelist> docker build . -t msnovelist [+] Building 1901.0s (12/20) => [internal] load build definition from Dockerfile 0.2s => => transferring dockerfile: 1.14kB 0.0s => [internal] load .dockerignore 0.1s => => transferring context: 72B 0.0s => [internal] load metadata for docker.io/continuumio/miniconda3:latest 6.8s => [internal] load metadata for docker.io/library/maven:3.8.1-jdk-11 6.8s => [stage-1 1/11] FROM docker.io/continuumio/miniconda3@sha256:592a60b95b547f31c11dc6593832e962952e3178f1fa11 273.7s => => resolve docker.io/continuumio/miniconda3@sha256:592a60b95b547f31c11dc6593832e962952e3178f1fa11db37f43a2afe 0.1s => => sha256:592a60b95b547f31c11dc6593832e962952e3178f1fa11db37f43a2afe8df8d7 1.36kB / 1.36kB 0.0s => => sha256:92d7896124d940cb1815d3b59d8eaab9a8e86c801af2437658581465044b0a06 953B / 953B 0.0s => => sha256:67414e5844b666d3d44cb5c43de3f4aa8645e17d462951003fe622c9ae894983 4.08kB / 4.08kB 0.0s => => sha256:33847f680f63fb1b343a9fc782e267b5abdbdb50d65d4b9bd2a136291d67cf75 27.15MB / 27.15MB 162.3s => => sha256:f5a80bcd14133fe8e0166900eb4bfb714939510e490403e82f3a32776cd41a8f 51.25MB / 51.25MB 236.9s => => sha256:8d0d14d1334a21b14dcb9a9bbb16aa692282173db137856ce8c315a05e3397c7 58.19MB / 58.19MB 265.9s => => extracting sha256:33847f680f63fb1b343a9fc782e267b5abdbdb50d65d4b9bd2a136291d67cf75 5.0s => => extracting sha256:f5a80bcd14133fe8e0166900eb4bfb714939510e490403e82f3a32776cd41a8f 7.7s => => extracting sha256:8d0d14d1334a21b14dcb9a9bbb16aa692282173db137856ce8c315a05e3397c7 7.2s => [internal] load build context 1.0s => => transferring context: 27.65MB 1.0s => [fingerprint-wrapper-build 1/4] FROM docker.io/library/maven:3.8.1-jdk-11@sha256:aaf506d47cd2ec8f62fc1ff740 359.0s => => resolve docker.io/library/maven:3.8.1-jdk-11@sha256:aaf506d47cd2ec8f62fc1ff74065eda5614738e8ea61bad9b32da0 0.1s => => sha256:5b508b1fe19e290255c9e077a1c7af028a576cabb70eab4abdfee574599f729f 8.91kB / 8.91kB 0.0s => => sha256:aaf506d47cd2ec8f62fc1ff74065eda5614738e8ea61bad9b32da0360b9498cd 549B / 549B 0.0s => => sha256:c7fd7fd85d575501412f4237f2efcba10c8ee5ed6917fba15bcbf8521f3ae066 2.42kB / 2.42kB 0.0s => => sha256:c040670e5e559fd936db175530ad4c1dd014bd25b2bf25ea19fa20554fe2d736 7.83MB / 7.83MB 15.8s => => sha256:073a180f4992853fa3dd8da604e7b041bc8ea92157749d042c0853312f178f6a 10.00MB / 10.00MB 20.1s => => sha256:627b765e08d177e63c9a202ca4991b711448905b934435c70b7cbd7d4a9c7959 50.44MB / 50.44MB 105.2s => => sha256:bf76209566d0c8d78df205b09e6e5b52ff7f10cb4e1c03d9336ed7dd2decd919 51.84MB / 51.84MB 115.8s => => sha256:f10db7ba7580dd43abbf34313aab51dae288a6ef8dcd1b60860a97679c47942d 5.29MB / 5.29MB 31.0s => => sha256:5b2f970878fad14882553683f35f608f8e510c8886959085d5c5b43947104abe 210B / 210B 32.4s => => sha256:ed434bfebf18b6bcb8ae2c5552ff4319f726cbfa5006cd890d8c044403fee7fb 203.13MB / 203.13MB 342.9s => => sha256:034ffe8d2e9bdebe5b9be185c24cb95d42abc9d7d2d5250450263803e84901b1 9.61MB / 9.61MB 130.2s => => extracting sha256:627b765e08d177e63c9a202ca4991b711448905b934435c70b7cbd7d4a9c7959 7.7s => => extracting sha256:c040670e5e559fd936db175530ad4c1dd014bd25b2bf25ea19fa20554fe2d736 1.3s => => extracting sha256:073a180f4992853fa3dd8da604e7b041bc8ea92157749d042c0853312f178f6a 0.9s => => sha256:d5d148453d21e777a2aed34aa25177ae18ecda2482370f97b41fe62354d6be59 853B / 853B 117.2s => => extracting sha256:bf76209566d0c8d78df205b09e6e5b52ff7f10cb4e1c03d9336ed7dd2decd919 9.5s => => sha256:9ada6670f541c6aad8166b9aacb4670b211bbd5f1fe0c97552fa4eac90295549 360B / 360B 117.7s => => extracting sha256:f10db7ba7580dd43abbf34313aab51dae288a6ef8dcd1b60860a97679c47942d 0.8s => => extracting sha256:5b2f970878fad14882553683f35f608f8e510c8886959085d5c5b43947104abe 0.0s => => extracting sha256:ed434bfebf18b6bcb8ae2c5552ff4319f726cbfa5006cd890d8c044403fee7fb 13.8s => => extracting sha256:034ffe8d2e9bdebe5b9be185c24cb95d42abc9d7d2d5250450263803e84901b1 0.7s => => extracting sha256:d5d148453d21e777a2aed34aa25177ae18ecda2482370f97b41fe62354d6be59 0.0s => => extracting sha256:9ada6670f541c6aad8166b9aacb4670b211bbd5f1fe0c97552fa4eac90295549 0.0s => [stage-1 2/11] COPY msnovelist-env.yml / 0.3s => ERROR [stage-1 3/11] RUN /opt/conda/bin/conda env create -f /msnovelist-env.yml 1619.7s => [fingerprint-wrapper-build 2/4] COPY fingerprint-wrapper /usr/src/fingerprint-wrapper 0.2s => [fingerprint-wrapper-build 3/4] WORKDIR /usr/src/fingerprint-wrapper 0.0s => [fingerprint-wrapper-build 4/4] RUN mvn clean install 901.5s