- Alpine 3.20
- Golang 1.22
- OpenCV 4.10.0
- OpenCV 4.10.0 contrib packages required by GoCV
- Alpine 3.20
- 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.
pushd runtime && docker build -t denismakogon/gocv-alpine:4.0.1-runtime .; popd
pushd build-stage && docker build -t denismakogon/gocv-alpine:4.0.1-buildstage .; popd
pushd example && docker build -t denismakogon/gocv-alpine:test .; popd
docker run --rm -ti denismakogon/gocv-alpine:test
the output should be the following:
gocv version: 0.18.0
opencv lib version: 4.0.1