mirror of
https://github.com/peterbraden/node-opencv.git
synced 2025-12-08 19:45:55 +00:00
Fix dockerfile
This commit is contained in:
parent
97b896331c
commit
57884e5d31
16
Dockerfile
16
Dockerfile
@ -8,11 +8,11 @@
|
||||
# DOCKER-VERSION 0.1.6
|
||||
|
||||
from ubuntu:12.04
|
||||
run echo "deb http://archive.ubuntu.com/ubuntu precise main universe" > /etc/apt/sources.list
|
||||
run apt-get update
|
||||
run apt-get install -q -y libcv-dev
|
||||
run apt-get install -q -y libopencv-dev
|
||||
run apt-get install -q -y libhighgui-dev
|
||||
run apt-get install wget
|
||||
run wget -O - http://nodejs.org/dist/v0.8.23/node-v0.8.23-linux-x64.tar.gz | tar -C /usr/local/ --strip-components=1 -zxv
|
||||
run npm install opencv
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user