Skip to content
Snippets Groups Projects
Commit fb03ba2c authored by Denis Arrivault's avatar Denis Arrivault
Browse files

Update Dockerfiles + launch doc generation on regular runner

parent cd3984c6
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -5,24 +5,24 @@ stages: ...@@ -5,24 +5,24 @@ stages:
- doc - doc
# Global runner/docker image definition # Global runner/docker image definition
image: registry.gitlab.lif.univ-mrs.fr:5005/dev/ltfatpy/ltfatpy_ubuntu_16.04 image: ubuntu:latest
# Global caching # Global caching
#cache: cache:
# key: "cache" key: "cache"
# paths: paths:
# apt # apt
# - apt-cache - apt-cache
# build # build
# - build - build
#before_script: #before_script:
# - export APT_CACHE_DIR=`pwd`/apt-cache && mkdir -pv $APT_CACHE_DIR - export APT_CACHE_DIR=`pwd`/apt-cache && mkdir -pv $APT_CACHE_DIR
# - apt-get update -yq && apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -y cmake libfftw3-dev - apt-get update -yq && apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -y cmake libfftw3-dev liblapack-dev
# - apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -y liblapack-dev python3.5 python3.5-dev python3-pip python3-tk - apt-get -o dir::cache::archives="$APT_CACHE_DIR" install -y python3.5 python3.5-dev python3-pip python3-tk
# - pip3 install --upgrade pip - pip3 install --upgrade pip
# - pip3 install scipy matplotlib nose coverage cython - pip3 install scipy matplotlib nose coverage cython
# - pip3 list - pip3 list
# Main build # Main build
build: build:
......
FROM ubuntu:latest
MAINTAINER Denis Arrivault
WORKDIR /
RUN apt-get update && apt-get install -y \
cmake \
libfftw3-dev \
liblapack-dev \
python3 \
python3-dev \
python3-pip \
python3-tk \
python3-matplotlib
RUN pip3 install --upgrade pip
RUN pip3 install scipy nose coverage pytest pytest-cov Sphinx sphinxcontrib-bibtex
# Copy the ltfatpy sdist in the docker directory and uncomment the following line
# if you want to include ltfatpy sources in the docker image :
# ADD ltfatpy-1.0.8.tar.gz /
# cleanup
RUN apt-get -qy autoremove
\ No newline at end of file
...@@ -9,8 +9,14 @@ RUN apt-get update && apt-get install -y \ ...@@ -9,8 +9,14 @@ RUN apt-get update && apt-get install -y \
python3-dev \ python3-dev \
python3-pip \ python3-pip \
cython \ cython \
python3-tk python3-tk \
python3-matplotlib
RUN pip3 install --upgrade pip RUN pip3 install --upgrade pip
RUN pip3 install scipy matplotlib nose coverage pytest pytest-cov Sphinx sphinxcontrib-bibtex RUN pip3 install scipy nose coverage pytest pytest-cov Sphinx sphinxcontrib-bibtex
# Copy the ltfatpy sdist in the docker directory and uncomment the following line
# if you want to include ltfatpy sources in the docker image :
# ADD ltfatpy-1.0.8.tar.gz /
# cleanup # cleanup
RUN apt-get -qy autoremove RUN apt-get -qy autoremove
\ No newline at end of file
#FROM ubuntu:latest
FROM ioft/i386-ubuntu FROM ioft/i386-ubuntu
MAINTAINER Denis Arrivault MAINTAINER Denis Arrivault
WORKDIR / WORKDIR /
...@@ -10,9 +9,13 @@ RUN apt-get update && apt-get install -y \ ...@@ -10,9 +9,13 @@ RUN apt-get update && apt-get install -y \
python3-dev \ python3-dev \
python3-pip \ python3-pip \
python3-tk \ python3-tk \
libfreetype6 python3-matplotlib
RUN pip3 install --upgrade pip RUN pip3 install --upgrade pip
RUN pip3 install scipy matplotlib nose coverage pytest pytest-cov Sphinx sphinxcontrib-bibtex RUN pip3 install scipy nose coverage pytest pytest-cov Sphinx sphinxcontrib-bibtex
ADD ltfatpy-1.0.8 /
# Copy the ltfatpy sdist in the docker directory and uncomment the following line
# if you want to include ltfatpy sources in the docker image :
# ADD ltfatpy-1.0.8.tar.gz /
# cleanup # cleanup
RUN apt-get -qy autoremove RUN apt-get -qy autoremove
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment