Clients build failed when set --build-arg "PYVER=3.6"
See original GitHub issueWill failed
sudo docker build -t tensorrtserver_clients --target trtserver_build --build-arg "PYVER=3.6" --build-arg "BUILD_CLIENTS_ONLY=1" .
but 3.5 works
sudo docker build -t tensorrtserver_clients --target trtserver_build --build-arg "PYVER=3.5" --build-arg "BUILD_CLIENTS_ONLY=1" .
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Clients build failed when set --build-arg "PYVER=3.6" #28
In my opinion (and this is a feature request), the build process for the clients should be separated from the build process of...
Read more >docker build --build-arg FAILS - Stack Overflow
Every time I run docker build --build-arg I get a funky error message. Error Message: => ERROR [5/6] RUN wget ...
Read more >Issues passing Docker build args - Render community
Hi! I've a simple Dockerfile containing an Angular build: FROM node:alpine AS build-env WORKDIR /app ARG BUILD_COMMAND COPY package.json .
Read more >Understanding Docker Build Args, Environment Variables and ...
An overview of ways to set and use variables when building images, starting containers and using docker-compose.
Read more >Topical Guide | Spring Boot Docker
Once you have chosen a build system, you don't need the ARG . ... This fails because the ${} substitution requires a shell....
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 have also had problems building the TRTIS client wheel for targets other than ubuntu 16.04 with Python 3.5. With the old github repository this was easily possible, but now there are dependencies in the Dockerfile which make this more complicated.
In my opinion (and this is a feature request), the build process for the clients should be separated from the build process of the server, and made much simpler. After all (correct me if I’m wrong), the clients do not depend on tensorflow, tensorflow-serving, pytorch, caffe2 etc. One should only need grpc, libcurl, and the protobuf service definitions and hence the clients should be compilable in an almost generic current linux image. The compilation should also be quite quick…
With https://github.com/NVIDIA/tensorrt-inference-server/pull/132 we now have a separate Makefile.client (and Dockerfile.client for convenience) that is used to build the client libraries and examples. The main Dockerfile now builds just the server.
Give it a try with your target OS and Python version and send in pull requests to fix any issues you find.