Created
October 8, 2020 10:23
-
-
Save atemate/20972c2357f41fd478127c37586f8d7d to your computer and use it in GitHub Desktop.
Image build problem on onprem-poc (unsupported status code 504)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
INFO[1028] Pushing layer registry.onprem-poc.org.neu.ro/artemyushkovskiy/layer-cache/cache:9a9d965b463ba3376bbe100cd9bfd302f6f901fac8954390303e9af2be6fec87 to cache now | |
INFO[1029] RUN ssh-keygen -f /id_rsa -t rsa -N neuromation -q | |
INFO[1029] cmd: /bin/sh | |
INFO[1029] args: [-c ssh-keygen -f /id_rsa -t rsa -N neuromation -q] | |
INFO[1029] Running: [/bin/sh -c ssh-keygen -f /id_rsa -t rsa -N neuromation -q] | |
INFO[1029] Taking snapshot of full filesystem... | |
DEBU[1084] build: composite key for command RUN ssh-keygen -f /id_rsa -t rsa -N neuromation -q &{[sha256:b2e3766740d234f20eca2d9da5c845ee94501b1efeb3084a1275ca91589ee931 WORKDIR /project COPY apt.txt . ffd01b9676033e73f9ae476008d1d0a5d1fc9731c67b2a6383f69320a883241f RUN export DEBIAN_FRONTEND=noninteractive && apt-get -qq update && cat apt.txt | tr -d \r | xargs -I % apt-get -qq install --no-install-recommends % && apt-get -qq clean && apt-get autoremove && rm -rf /var/lib/apt/lists/* COPY requirements/ ./requirements/ 740ff0bff2f7acad7847d7f56c8de87d84974b0b9be24c9b7a689673034022b0 RUN pip install --no-cache-dir -f https://dl.fbaipublicfiles.com/detectron2/wheels/cu100/index.html -r requirements/dev.txt RUN ssh-keygen -f /id_rsa -t rsa -N neuromation -q]} | |
DEBU[1084] build: cache key for command RUN ssh-keygen -f /id_rsa -t rsa -N neuromation -q ede6eabf10a000464ebd83979de2ef2d2a253c9db621aa262b244608418d40b1 | |
INFO[1084] Pushing layer registry.onprem-poc.org.neu.ro/artemyushkovskiy/layer-cache/cache:ede6eabf10a000464ebd83979de2ef2d2a253c9db621aa262b244608418d40b1 to cache now | |
DEBU[1973] mapping stage idx 0 to digest sha256:8ff543e1409a7ba203e0c7084c0b4e86ac35613b2dbffa1b995f883eef08b6e5 | |
DEBU[1973] mapping digest sha256:8ff543e1409a7ba203e0c7084c0b4e86ac35613b2dbffa1b995f883eef08b6e5 to cachekey ede6eabf10a000464ebd83979de2ef2d2a253c9db621aa262b244608418d40b1 | |
error pushing image: failed to push to destination registry.onprem-poc.org.neu.ro/artemyushkovskiy/neuromation-mlops_project_zero:v1.6.1: HEAD https://registry.onprem-poc.org.neu.ro/v2/artemyushkovskiy/neuromation-mlops_project_zero/blobs/sha256:82b3eb0d33aca8e03a7fdcd3a173bdc4b0c87619e046f123ca64ba3964705ae7: unsupported status code 504 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM neuromation/base:v1.6 # take not the ":latest" base image | |
WORKDIR /project | |
COPY apt.txt . | |
RUN export DEBIAN_FRONTEND=noninteractive && \ | |
apt-get -qq update && \ | |
cat apt.txt | tr -d "\r" | xargs -I % apt-get -qq install --no-install-recommends % && \ | |
apt-get -qq clean && \ | |
apt-get autoremove && \ | |
rm -rf /var/lib/apt/lists/* | |
COPY requirements/ ./requirements/ | |
RUN pip install --no-cache-dir \ | |
-f https://dl.fbaipublicfiles.com/detectron2/wheels/cu100/index.html \ | |
-r requirements/base.txt | |
RUN ssh-keygen -f /id_rsa -t rsa -N neuromation -q |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kind: live | |
title: MLOps Project Zero | |
id: mlops_project_zero | |
... | |
images: | |
dev: | |
ref: image:neuromation-$[[ flow.flow_id ]]:v1.6.1 | |
dockerfile: $[[ flow.workspace ]]/docker/Dockerfile | |
context: $[[ flow.workspace ]]/ | |
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Infrastructure: | |
neuromation>=20.4.6 | |
dvc==0.94.0 | |
# Code: | |
pyyaml | |
detectron2==0.1.1+cu100 | |
pycocotools-fix==2.0.0.1 | |
torch==1.4.0 | |
torchvision==0.5.0 | |
opencv-python>=4.2.0.34 | |
# pycoco fails with numpy>=1.18 (see https://github.com/cocodataset/cocoapi/issues/356) | |
numpy==1.17.5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment