From f888846dbd5f74275dcf0b4c887f8d02f9b56afb Mon Sep 17 00:00:00 2001 From: TJ Borromeo Date: Mon, 21 Sep 2015 18:41:13 -0700 Subject: [PATCH] Updating to Ubuntu 14.04 Updated version to 0.2 and Docker-version to 1.8.2. Locked node's opencv to v3.2.0 when installed via npm. --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2af10e5f..7e0651d9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,10 +4,11 @@ # 2) Build: wget https://raw.github.com/dotcloud/docker/v0.1.6/contrib/docker-build/docker-build && python docker-build $USER/node-opencv < Dockerfile # 3) Test: docker run $USER/node-opencv node -e "console.log(require('opencv').version)" # -# VERSION 0.1 -# DOCKER-VERSION 0.1.6 +# VERSION 0.2 +# DOCKER-VERSION 1.8.2 -from ubuntu:12.04 +# update to 14.04, but lock versions at 12.04 for now +from ubuntu:14.04 run apt-get update -qq run apt-get install -y software-properties-common python-software-properties run add-apt-repository -y ppa:kubuntu-ppa/backports @@ -15,4 +16,4 @@ run apt-get update run apt-get install -y libcv-dev libcvaux-dev libhighgui-dev libopencv-dev run curl -sL https://deb.nodesource.com/setup | bash - run apt-get install -y nodejs -run npm install opencv || cat npm-debug.log +run npm install opencv@3.2.0 || cat npm-debug.log