Skip to content

Commit f888846

Browse files
committed
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.
1 parent 6df0845 commit f888846

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,16 @@
44
# 2) Build: wget https://raw.github.com/dotcloud/docker/v0.1.6/contrib/docker-build/docker-build && python docker-build $USER/node-opencv < Dockerfile
55
# 3) Test: docker run $USER/node-opencv node -e "console.log(require('opencv').version)"
66
#
7-
# VERSION 0.1
8-
# DOCKER-VERSION 0.1.6
7+
# VERSION 0.2
8+
# DOCKER-VERSION 1.8.2
99

10-
from ubuntu:12.04
10+
# update to 14.04, but lock versions at 12.04 for now
11+
from ubuntu:14.04
1112
run apt-get update -qq
1213
run apt-get install -y software-properties-common python-software-properties
1314
run add-apt-repository -y ppa:kubuntu-ppa/backports
1415
run apt-get update
1516
run apt-get install -y libcv-dev libcvaux-dev libhighgui-dev libopencv-dev
1617
run curl -sL https://deb.nodesource.com/setup | bash -
1718
run apt-get install -y nodejs
18-
run npm install opencv || cat npm-debug.log
19+
run npm install opencv@3.2.0 || cat npm-debug.log

0 commit comments

Comments
 (0)