-
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.
- Loading branch information
1 parent
5e3edae
commit 5576399
Showing
4 changed files
with
162 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# Distro | ||
# | ||
# I built this using this resource: | ||
# https://github.com/czka/archlinux-docker | ||
# | ||
# I failed to get the images base/archlinux, base/arch and base/devel | ||
# that are at hub.docker.com to work. | ||
# | ||
FROM archlinux_x86_64-base | ||
|
||
MAINTAINER Hazen Babcock <[email protected]> | ||
|
||
# Get dependencies, these are in alphabetical order | ||
# | ||
# Missing: | ||
# LASi | ||
# PDL (Perl Data Language). | ||
# | ||
RUN pacman --noconfirm -Syu base-devel | ||
RUN pacman --noconfirm -Syu cairo | ||
RUN pacman --noconfirm -Syu cmake | ||
RUN pacman --noconfirm -Syu dmd | ||
RUN pacman --noconfirm -Syu gcc | ||
RUN pacman --noconfirm -Syu gcc-ada | ||
RUN pacman --noconfirm -Syu gcc-fortran | ||
RUN pacman --noconfirm -Syu git | ||
RUN pacman --noconfirm -Syu gtk2 | ||
RUN pacman --noconfirm -Syu jre7-openjdk | ||
RUN pacman --noconfirm -Syu jdk7-openjdk | ||
RUN pacman --noconfirm -Syu libharu | ||
RUN pacman --noconfirm -Syu lua | ||
RUN pacman --noconfirm -Syu ocaml | ||
RUN pacman --noconfirm -Syu octave | ||
RUN pacman --noconfirm -Syu pango | ||
RUN pacman --noconfirm -Syu perl-xml-parser | ||
RUN pacman --noconfirm -Syu python2 | ||
RUN pacman --noconfirm -Syu python2-numpy | ||
RUN pacman --noconfirm -Syu python2-pyqt4 | ||
RUN pacman --noconfirm -Syu python2-sip | ||
RUN pacman --noconfirm -Syu qhull | ||
RUN pacman --noconfirm -Syu qt4 | ||
RUN pacman --noconfirm -Syu shapelib | ||
RUN pacman --noconfirm -Syu sip | ||
RUN pacman --noconfirm -Syu swig | ||
RUN pacman --noconfirm -Syu tcl | ||
RUN pacman --noconfirm -Syu ttf-freefont | ||
RUN pacman --noconfirm -Syu wxgtk | ||
|
||
# Set working directory | ||
WORKDIR /plplot | ||
|
||
# Get PLplot | ||
RUN git clone git://git.code.sf.net/p/plplot/plplot plplot | ||
RUN mkdir plplot-build | ||
|
||
# Copy in the test shell script | ||
COPY ./test_plplot.sh ./ | ||
|
||
# This is what what gets run when this is started. | ||
CMD sh test_plplot.sh |
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,23 @@ | ||
|
||
# Move to source directory & update source. | ||
cd plplot | ||
pwd | ||
git fetch origin | ||
git merge origin/master | ||
|
||
# | ||
# Move to build directory, build and test. Note that all the files | ||
# that are generated will disappear as soon as this stops running | ||
# so we'll capture everything by redirecting the output to a file. | ||
# | ||
cd ../plplot-build | ||
pwd | ||
echo "<!-- cmake -->" | ||
cmake ../plplot -DBUILD_TEST=ON -DENABLE_tk=OFF | ||
echo "<!-- cache -->" | ||
more CMakeCache.txt | ||
echo "<!-- make -->" | ||
make VERBOSE=1 | ||
echo "<!-- ctest -->" | ||
ctest --verbose | ||
echo "<!-- done -->" |
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,56 @@ | ||
# Distro | ||
FROM fedora:latest | ||
MAINTAINER Hazen Babcock <[email protected]> | ||
|
||
# Update sources | ||
RUN dnf -y upgrade | ||
|
||
# Get dependencies, these are in alphabetical order | ||
# | ||
# Missing: | ||
# ttf fonts | ||
# | ||
# D compiler. | ||
# PDL (Perl Data Language). | ||
# | ||
RUN dnf -y install cairo-devel | ||
RUN dnf -y install cmake | ||
RUN dnf -y install fedora-gnat-project-common gprbuild | ||
RUN dnf -y install gcc | ||
RUN dnf -y install gcc-c++ | ||
RUN dnf -y install gcc-gfortran | ||
RUN dnf -y install git | ||
RUN dnf -y install gtk2-devel | ||
RUN dnf -y install java-1.8.0-openjdk-devel | ||
RUN dnf -y install lasi-devel | ||
RUN dnf -y install libharu-devel | ||
RUN dnf -y install lua | ||
RUN dnf -y install lua-libs | ||
RUN dnf -y install ocaml | ||
RUN dnf -y install octave-devel | ||
RUN dnf -y install pango-devel | ||
RUN dnf -y install perl-XML-DOM | ||
RUN dnf -y install perl-XML-Parser | ||
RUN dnf -y install python | ||
RUN dnf -y install python2-numpy | ||
RUN dnf -y install PyQt4-devel | ||
RUN dnf -y install qhull-devel | ||
RUN dnf -y install qt-devel | ||
RUN dnf -y install shapelib-devel | ||
RUN dnf -y install sip-devel | ||
RUN dnf -y install swig | ||
RUN dnf -y install tcl-devel | ||
RUN dnf -y install wxGTK3 | ||
|
||
# Set working directory | ||
WORKDIR /plplot | ||
|
||
# Get PLplot | ||
RUN git clone git://git.code.sf.net/p/plplot/plplot plplot | ||
RUN mkdir plplot-build | ||
|
||
# Copy in the test shell script | ||
COPY ./test_plplot.sh ./ | ||
|
||
# This is what what gets run when this is started. | ||
CMD sh test_plplot.sh |
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,23 @@ | ||
|
||
# Move to source directory & update source. | ||
cd plplot | ||
pwd | ||
git fetch origin | ||
git merge origin/master | ||
|
||
# | ||
# Move to build directory, build and test. Note that all the files | ||
# that are generated will disappear as soon as this stops running | ||
# so we'll capture everything by redirecting the output to a file. | ||
# | ||
cd ../plplot-build | ||
pwd | ||
echo "<!-- cmake -->" | ||
cmake ../plplot -DBUILD_TEST=ON -DENABLE_tk=OFF | ||
echo "<!-- cache -->" | ||
more CMakeCache.txt | ||
echo "<!-- make -->" | ||
make VERBOSE=1 | ||
echo "<!-- ctest -->" | ||
ctest --verbose | ||
echo "<!-- done -->" |