- Alpine 3.13
- FFMPEG 4.3.1
- Golang 1.16
- OpenCV 4.5.1
- OpenCV 4.5.1 contrib packages required by GoCV
- Alpine 3.13
- Whatever you need there
This is a build image for the multi-stage image provisioning as well as runtime image to work with gocv-based binaries.
Sample Docker file you can find here.
docker build -f runtime/Dockerfile -t chand1012/gocv-alpine:4.5.1-runtime .
docker build -f build-stage/Dockerfile -t chand1012/gocv-alpine:4.5.1-buildstage .
docker build -f example/Dockerfile -t chand1012/gocv-alpine:test .
docker run --rm chand1012/gocv-alpine:test
the output should be the following:
gocv version: 0.27.0
opencv lib version: 4.5.1
You can also download the images from Docker Hub.