Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build kserve dev image #2075

Closed
yeahdongcn opened this issue Jan 13, 2023 · 0 comments · Fixed by #2076
Closed

Unable to build kserve dev image #2075

yeahdongcn opened this issue Jan 13, 2023 · 0 comments · Fixed by #2076
Labels
docker triaged Issue has been reviewed and triaged

Comments

@yeahdongcn
Copy link
Contributor

🐛 Describe the bug

Docker Image Dev Build step failed in following this doc serve/kubernetes/kserve/README.md.

DOCKER_BUILDKIT=1 docker build -f Dockerfile.dev -t pytorch/torchserve-kfs:latest-dev .

Error logs

❯ DOCKER_BUILDKIT=1 docker build -f Dockerfile.dev -t pytorch/torchserve-kfs:latest-dev .
[+] Building 2.0s (7/14)                                                                                                                               
 => [internal] load build definition from Dockerfile.dev                                                                                          0.0s
 => => transferring dockerfile: 42B                                                                                                               0.0s
 => [internal] load .dockerignore                                                                                                                 0.0s
 => => transferring context: 2B                                                                                                                   0.0s
 => resolve image config for docker.io/docker/dockerfile:experimental                                                                             0.0s
 => CACHED docker-image://docker.io/docker/dockerfile:experimental                                                                                0.0s
 => [internal] load metadata for docker.io/library/ubuntu:20.04                                                                                   1.5s
 => CACHED [compile-image 1/6] FROM docker.io/library/ubuntu:20.04@sha256:0e0402cd13f68137edb0266e1d2c682f217814420f2d43d300ed8f65479b14fb        0.0s
 => ERROR [compile-image 2/6] RUN apt-key del 7fa2af80                                                                                            0.3s
------
 > [compile-image 2/6] RUN apt-key del 7fa2af80:
#7 0.246 E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of them is required for this operation
------
executor failed running [/bin/sh -c apt-key del 7fa2af80]: exit code: 255

Installation instructions

N/A

Model Packaing

N/A

config.properties

No response

Versions

master branch

Repro instructions

cd kubernetes/kserve
./build_image.sh -g
DOCKER_BUILDKIT=1 docker build -f Dockerfile.dev -t pytorch/torchserve-kfs:latest-dev .

Possible Solution

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker triaged Issue has been reviewed and triaged
Projects
None yet
2 participants