Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
hysop
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
particle_methods
hysop
Commits
c59cdb63
Commit
c59cdb63
authored
8 years ago
by
Franck Pérignon
Browse files
Options
Downloads
Patches
Plain Diff
[ci skip] update dockerfile for ubunutu
parent
20d84c4e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
ci/docker_images/ubuntu/#Dockerfile#
+0
-58
0 additions, 58 deletions
ci/docker_images/ubuntu/#Dockerfile#
ci/docker_images/ubuntu/Dockerfile
+14
-7
14 additions, 7 deletions
ci/docker_images/ubuntu/Dockerfile
with
14 additions
and
65 deletions
ci/docker_images/ubuntu/#Dockerfile#
deleted
100644 → 0
+
0
−
58
View file @
20d84c4e
FROM ubuntu:14.04.2
MAINTAINER guido.stevens@cosent.net
# we need ruby>2.0.0 for jekyll>3.0.0
RUN apt-get update && apt-get install -y software-properties-common && apt-add-repository -y ppa:brightbox/ruby-ng
RUN apt-get update && apt-get install -y \
curl \
firefox \
gcc \
gettext \
ghostscript \
git-core \
graphicsmagick \
jed \
libenchant-dev \
libffi-dev \
libfreetype6-dev \
libjpeg-dev \
libreoffice \
libxslt1-dev \
make \
pdftk \
poppler-data \
poppler-utils \
python-dev \
python-gdbm \
python-lxml \
python-pip \
python-tk \
python-virtualenv \
redis-server \
ruby2.3 \
ruby2.3-dev \
wget \
xvfb \
zlib1g-dev
RUN gem install docsplit
RUN locale-gen en_US.UTF-8 nl_NL@euro
COPY buildout.d /tmp/buildout.d
COPY buildout.cfg /tmp/
COPY requirements.txt /tmp/
RUN cd /tmp && \
wget https://launchpad.net/plone/5.0/5.0.4/+download/Plone-5.0.4-UnifiedInstaller.tgz && \
tar xzf Plone-5.0.4-UnifiedInstaller.tgz && \
tar xjf Plone-5.0.4-UnifiedInstaller/packages/buildout-cache.tar.bz2 && \
mv buildout-cache/* /var/tmp/ && \
mkdir /var/tmp/extends && \
rm -rf Plone* buildout-cache
RUN mkdir /tmp/build && cd /tmp/build && \
cp -r /tmp/buildout.* /tmp/requirements.txt . && \
virtualenv -p python2.7 . && \
bin/pip install -r requirements.txt && \
bin/buildout -c buildout.cfg && \
chmod -R a+rwX /var/tmp/eggs /var/tmp/downloads /var/tmp/extends && \
cd /tmp && rm -rf /tmp/build
CMD ["/bin/bash"]# This is a comment
FROM ubuntu:14.04
MAINTAINER Franck Pérignon <Franck.Perignon@imag.fr>
RUN apt-get update && apt-get install -y cmake
\ No newline at end of file
This diff is collapsed.
Click to expand it.
ci/docker_images/ubuntu/Dockerfile
+
14
−
7
View file @
c59cdb63
...
...
@@ -4,6 +4,7 @@ MAINTAINER Franck.Perignon@imag.fr
# we need cmake, python ...
RUN
apt-get update
&&
apt-get
install
-y
\
cmake
\
ssh
\
python-dev
\
libblas-dev
\
python
\
...
...
@@ -19,6 +20,7 @@ RUN apt-get update && apt-get install -y \
openmpi-bin
\
libopenmpi-dev
\
libhdf5-openmpi-dev
\
cython
\
python-numpy
\
python-scipy
\
python-pyopencl
\
...
...
@@ -26,18 +28,23 @@ RUN apt-get update && apt-get install -y \
libfftw3-dev
\
libfftw3-mpi-dev
\
python-pytest
\
cython
wget
&&
\
rm
-rf
/var/lib/apt/lists/
*
RUN
pip
install
--upgrade
pip
RUN
pip
install
--upgrade
setuptools
RUN
pip
install
mpi4py
RUN
pip
install
sphinx
RUN
pip
install
wheel
RUN
wget https://pypi.python.org/packages/22/82/64dada5382a60471f85f16eb7d01cc1a9620aea855cd665609adf6fdbb0d/h5py-2.6.0.tar.gz
RUN
tar
-zxvf
h5py-2.6.0.tar.gz
RUN
cd
h5py-2.6.0
RUN
export
CC
=
mpicc
RUN
python setup.py configure
--mpi
--hdf5
=
/usr/
RUN
python setup.py
install
RUN
wget https://pypi.python.org/packages/22/82/64dada5382a60471f85f16eb7d01cc1a9620aea855cd665609adf6fdbb0d/h5py-2.6.0.tar.gz
&&
\
tar
-zxvf
h5py-2.6.0.tar.gz
&&
\
cd
h5py-2.6.0
&&
\
export
CC
=
mpicc
&&
\
export
CFLAGS
=
"-I/usr/include/hdf5/openmpi/"
&&
\
export
LDFLAGS
=
"-L /usr/lib/x86_64-linux-gnu/hdf5/openmpi/"
&&
\
python setup.py configure
--mpi
--hdf5
=
/usr/
&&
\
python setup.py
install
&&
\
cd
..
&&
\
rm
-rf
h5py-2.6.0
*
RUN
cd
..
CMD
["/bin/bash"]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment