Public Repository

Last pushed: 2 years ago
Short Description
Clojure/OpenCV
Full Description
FROM clojure
RUN apt-get update
RUN apt-get -y install build-essential git cmake libavcodec-dev libavformat-dev libswscale-dev libjpeg-dev libpng-dev libtiff-dev libjasper-dev libopencv2.4-java

RUN mkdir -p ~/.lein/
RUN echo '{:user {:plugins [[lein-localrepo "0.5.3"]]}}' >> ~/.lein/profiles.clj
RUN echo '{:user {:plugins [[venantius/ultra "0.1.9"]] :ultra {:color-scheme :solarized_dark}}}' >> ~/.lein/profiles.clj
RUN lein localrepo install /usr/share/OpenCV/java/opencv-249.jar opencv/opencv 2.4.9
RUN mkdir -p /tmp/native/linux/x86_64
RUN cp /usr/lib/jni/libopencv_java249.so /tmp/native/linux/x86_64
RUN jar -cMf /tmp/opencv-native-249.jar /tmp/native
RUN lein localrepo install /tmp/opencv-native-249.jar opencv/opencv-native 2.4.9
Docker Pull Command
Owner
brettatoms