forked from peterbraden/node-opencv
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request peterbraden#304 from peterbraden/docker-environments
Docker environments
- Loading branch information
Showing
7 changed files
with
44 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# This is a dockerfile to test the build on ubuntu 12.04 | ||
from ubuntu:12.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 | ||
WORKDIR /root/node-opencv | ||
add . /root/node-opencv | ||
run npm install --unsafe-perm --build-from-source || cat npm-debug.log | ||
run make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# This is a dockerfile to test the build on ubuntu 14.04 | ||
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 | ||
WORKDIR /root/node-opencv | ||
add . /root/node-opencv | ||
run npm install --unsafe-perm --build-from-source || cat npm-debug.log | ||
run make test |