Skip to content

Instantly share code, notes, and snippets.

@fastfading
fastfading / Dockerfile.build
Created June 17, 2019 01:07 — forked from vcabbage/Dockerfile.build
OpenCV Static
FROM golang:1.9-alpine3.6
RUN apk add --update alpine-sdk cmake linux-headers
# Use an ARG to make it easier to test different versions
ARG OPENCV_VERSION=3.2.0
# Download OpenCV
# Build OpenCV statically and without features we don't use
RUN mkdir -p /opencv && \