Skip to content

pcshih/python-opencv-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

python-opencv-hello-world

Build image

$ docker build \
--build-arg GID=$(id -g) \
--build-arg USER_NAME=${USER} \
--build-arg UID=$(id -u) \
--tag pt/python-opencv-hello-world:latest .

Run as container

$ docker run \
-it \
--volume ${PWD}:${PWD} \
--workdir ${PWD} \
--name opencv-hello-world \
pt/python-opencv-hello-world:latest \
zsh

Install some python packages

$ pip3 install -r requirements.txt

Run in different user(in order to save in original user privilege)

$ su ${CURRENT_LOCAL_USER} -c '{SOME_CMDS}'

About

docker test of python opencv

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published