Slackbot
02/27/2023, 1:49 AMAaron Pham
02/27/2023, 4:55 AMJon Gill
02/27/2023, 5:05 AMJon Gill
02/27/2023, 5:05 AM#0 16.69 Err:77 <http://archive.ubuntu.com/ubuntu> focal-updates/main amd64 python3-software-properties all 0.99.9.8
#0 16.69 404 Not Found [IP: 185.125.190.39 80]
#0 16.98 Get:78 <http://archive.ubuntu.com/ubuntu> focal-updates/main amd64 packagekit amd64 1.1.13-2ubuntu1.1 [408 kB]
#0 17.85 Err:79 <http://archive.ubuntu.com/ubuntu> focal-updates/main amd64 software-properties-common all 0.99.9.8
#0 17.85 404 Not Found [IP: 185.125.190.39 80]
#0 17.87 Fetched 27.2 MB in 14s (1957 kB/s)
#0 17.87 E: Failed to fetch <http://security.ubuntu.com/ubuntu/pool/main/k/krb5/libkrb5support0_1.17-6ubuntu4.1_amd64.deb> 404 Not Found [IP: 185.125.190.39 80]
#0 17.87 E: Failed to fetch <http://security.ubuntu.com/ubuntu/pool/main/k/krb5/libk5crypto3_1.17-6ubuntu4.1_amd64.deb> 404 Not Found [IP: 185.125.190.39 80]
#0 17.87 E: Failed to fetch <http://security.ubuntu.com/ubuntu/pool/main/k/krb5/libkrb5-3_1.17-6ubuntu4.1_amd64.deb> 404 Not Found [IP: 185.125.190.39 80]
#0 17.87 E: Failed to fetch <http://security.ubuntu.com/ubuntu/pool/main/k/krb5/libgssapi-krb5-2_1.17-6ubuntu4.1_amd64.deb> 404 Not Found [IP: 185.125.190.39 80]
#0 17.87 E: Failed to fetch <http://archive.ubuntu.com/ubuntu/pool/main/s/software-properties/python3-software-properties_0.99.9.8_all.deb> 404 Not Found [IP: 185.125.190.39 80]
#0 17.87 E: Failed to fetch <http://archive.ubuntu.com/ubuntu/pool/main/s/software-properties/software-properties-common_0.99.9.8_all.deb> 404 Not Found [IP: 185.125.190.39 80]
#0 17.87 E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
------
Dockerfile:30
--------------------
29 |
30 | >>> RUN \
31 | >>> set -eux && \
32 | >>> apt-get install -y --no-install-recommends --allow-remove-essential software-properties-common && \
33 | >>> # add deadsnakes ppa to install python
34 | >>> add-apt-repository ppa:deadsnakes/ppa && \
35 | >>> apt-get update -y && \
36 | >>> apt-get install -y --no-install-recommends --allow-remove-essential curl python3.10 python3.10-dev python3.10-distutils
37 |
--------------------
ERROR: failed to solve: process "/bin/sh -c set -eux && apt-get install -y --no-install-recommends --allow-remove-essential software-properties-common && add-apt-repository ppa:deadsnakes/ppa && apt-get update -y && apt-get install -y --no-install-recommends --allow-remove-essential curl python3.10 python3.10-dev python3.10-distutils" did not complete successfully: exit code: 100
Aaron Pham
02/27/2023, 3:24 PMdocker builder prune --filter type=exec.cachemount
and then build the container again?Aaron Pham
02/27/2023, 3:24 PMbentoctl build … --no-cache
Jon Gill
02/27/2023, 5:29 PMAaron Pham
02/27/2023, 5:45 PM--no-cache
is currently only availble on main.Jon Gill
02/27/2023, 5:47 PMAaron Pham
02/27/2023, 6:29 PMAaron Pham
02/27/2023, 6:30 PMJon Gill
02/27/2023, 6:31 PMJon Gill
02/27/2023, 6:32 PMJon Gill
02/27/2023, 6:34 PMservice: "service:svc"
include:
- "service.py"
- "configuration.yaml"
python:
packages:
- torch
- transformers
- pydantic
- fastapi
docker:
distro: debian
python_version: "3.10"
cuda_version: "11.6.2"
env:
BENTOML_CONFIG: "src/configuration.yaml"
Aaron Pham
02/27/2023, 6:34 PMpip install git+<https://github.com/bentoml/bentoctl.git@main>
Jon Gill
02/27/2023, 6:35 PMError: No such option: --no-cache
?Aaron Pham
02/27/2023, 6:36 PMbentoctl build -h
?Jon Gill
02/27/2023, 6:37 PMJon Gill
02/27/2023, 6:38 PMAaron Pham
02/27/2023, 6:38 PMeval $(pyenv init -)
it will append pyenv/shims to the top path, so if you have that bentoctl in that pyenv will get used instead.Jon Gill
02/27/2023, 6:40 PMJon Gill
02/27/2023, 6:40 PMJon Gill
02/27/2023, 6:40 PMAaron Pham
02/27/2023, 6:40 PMJon Gill
02/27/2023, 6:41 PMJon Gill
02/27/2023, 6:41 PMJon Gill
02/27/2023, 6:48 PMJon Gill
02/27/2023, 6:48 PMbentoctl build
with --no-cache
seems to be working!Jon Gill
02/27/2023, 6:49 PM