mirror of
https://github.com/XuehaiPan/nvitop.git
synced 2026-05-15 14:15:55 -06:00
[PR #50] [CLOSED] [update] Fix build problem of 'Dockerfile' #135
Labels
No labels
api
bug
bug
cli / tui
dependencies
documentation
documentation
documentation
duplicate
enhancement
exporter
invalid
pull-request
pynvml
question
question
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/nvitop#135
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/XuehaiPan/nvitop/pull/50
Author: @ShigemichiMatsuzaki
Created: 12/13/2022
Status: ❌ Closed
Base:
main← Head:fix-dockerfile📝 Commits (1)
f59f7d1[update] Fix build problem of 'Dockerfile'📊 Changes
1 file changed (+8 additions, -1 deletions)
View changed files
📝
Dockerfile(+8 -1)📄 Description
Issue Type
Runtime Environment
3.6(inside Docker)515.86/440.44]nvitopversion or commit:0.11.0python-ml-pyversion: -Description
Adding following changes to
Dockerfileto resolve the problem in runningnvitopcommand in a Docker container.requirements.txtto/tmp/requirements.txtin the imagepip install -r /tmp/requirements.txtto install dependenciesMotivation and Context
When following the commands below as indicated in https://github.com/XuehaiPan/nvitop#for-docker-users,
nvitopin the container throws an error:I modified
Dockerfileso that the dependencies are explicitly installed.By the change, the error due to lack of dependencies was resolved and
nvitopcommand was successfully run.Testing
I tested building the image and running
nvitopcommand in a docker container in two environments mentioned above, and confirmed successful build and execution.The change does not affect any other areas of the codebase.
Images / Videos
N/A
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.