Unable to build a CPU based image
See original GitHub issuePlease have a look at FAQ’s and Troubleshooting guide, your query may be already addressed.
Your issue may already be reported! Please search on the issue tracker before creating one.
Context
I was trying to build a CPU based image but running the ./build_image.sh
script leads to the following error:
I solved by adding RUN apt-get update && apt-get install -y gnupg2
- Operating System and version: Ubuntu 22.04 LTS
Your Environment
- Installed using source? [yes/no]:
- Are you planning to deploy it using docker container? [yes/no]: yes
- Is it a CPU or GPU environment?: CPU
- Using a default/custom handler? [If possible upload/share custom handler/model]:default
- What kind of model is it e.g. vision, text, audio?: text
- Are you planning to use local models from model-store or public url being used e.g. from S3 bucket etc.? [If public url then provide link.]:
- Provide config.properties, logs [ts.log] and parameters used for model registration/update APIs:
- Link to your project [if any]:
Expected Behavior
Current Behavior
Possible Solution
Add RUN apt-get update && apt-get install -y gnupg2
as first line of Dockerfile.
Steps to Reproduce
- clone the repository
- run
cd serve/docker
- run
./build_image.sh
Failure Logs [if any]
Issue Analytics
- State:
- Created a year ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
PC Won't POST? 4 Ways to Fix It - MakeUseOf
Incompatible components are one of the major reasons behind POST errors. Check if parts such as the RAM, motherboard, CPU, and graphics card...
Read more >The Top 10 Computer Build Errors - How to troubleshoot a ...
Learn about the top 10 computer building errors with a Computer Engineer, in only 10 minutes!! A no-nonsense, straightforward video on the ...
Read more >What to Do When Your Computer Screen Won't Show a Picture
Has your computer screen stopped working? Here are some troubleshooting steps to take if your monitor fails to display a picture.
Read more >Five common PC problems and how to fix them - Newegg
When a computer turns on but doesn't show anything on the monitor, it means that either the monitor is faulty, or that the...
Read more >python 3.x - Unable to use GPU from Docker. Building custom ...
Building custom docker container image on top of tensorflow GPU ... Model is loaded on CPU instead of GPU and inference in run...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I tried to follow your suggestion, specifically i used the ubuntu:22.04 as base image but unfortunately the issue is still present.
@msaroufim - yes.
I was able to finally resolve this issue by following @BeMarinoGit 's solution on adding
RUN apt-get update && apt-get install -y gnupg2
at line 25 inDockerfile