Skip to content

Commit

Permalink
Updating to Ubuntu 14.04
Browse files Browse the repository at this point in the history
Updated version to 0.2 and Docker-version to 1.8.2.
Locked node's opencv to v3.2.0 when installed via npm.
  • Loading branch information
borromeotlhs committed Sep 22, 2015
1 parent 6df0845 commit f888846
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@
# 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
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

0 comments on commit f888846

Please sign in to comment.