Commit 8796954c authored by Guilhem Saurel's avatar Guilhem Saurel
Browse files

[CI] clean docker images

parent 083e7b91
FROM ubuntu:16.04
ENV DEVEL_HPP_DIR=/workspace UBUNTU=xenial ROS=kinetic
RUN apt-get update -y && apt-get install -y \
curl \
&& rm -rf /var/lib/apt/lists/*
RUN echo "deb http://packages.ros.org/ros/ubuntu xenial main" > /etc/apt/sources.list.d/ros-latest.list
RUN echo "deb http://packages.ros.org/ros/ubuntu ${UBUNTU} main" > /etc/apt/sources.list.d/ros-latest.list
RUN apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
RUN echo "deb [arch=amd64] http://robotpkg.openrobots.org/wip/packages/debian/pub xenial robotpkg" > /etc/apt/sources.list.d/robotpkg.list
RUN echo "deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub xenial robotpkg" >> /etc/apt/sources.list.d/robotpkg.list
RUN echo "deb [arch=amd64] http://robotpkg.openrobots.org/wip/packages/debian/pub ${UBUNTU} robotpkg" > /etc/apt/sources.list.d/robotpkg.list
RUN echo "deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub ${UBUNTU} robotpkg" >> /etc/apt/sources.list.d/robotpkg.list
RUN curl http://robotpkg.openrobots.org/packages/debian/robotpkg.key | apt-key add -
RUN apt-get update -y && apt-get install -y \
asciidoc \
autoconf \
g++ \
bison \
cmake \
doxygen \
flex \
g++ \
git \
libassimp-dev \
libboost-dev \
libcdd-dev \
libglpk-dev \
liburdfdom-dev \
robotpkg-qpoases+doc \
robotpkg-roboptim-core \
robotpkg-roboptim-trajectory \
robotpkg-romeo-description \
ros-kinetic-xacro \
ros-kinetic-kdl-parser \
ros-kinetic-common-msgs \
ros-kinetic-tf \
ros-kinetic-tf-conversions \
libccd-dev \
ros-kinetic-octomap \
ros-kinetic-resource-retriever \
ros-kinetic-srdfdom \
ros-kinetic-pr2-description \
flex \
bison \
asciidoc \
source-highlight \
git \
libomniorb4-dev \
omniorb-nameserver \
omniidl \
omniidl-python \
libltdl-dev \
python-matplotlib \
libxml2-dev \
libtinyxml2-dev \
liblog4cxx10-dev \
libltdl-dev \
qt4-dev-tools \
libomniorb4-dev \
libopenscenegraph-dev \
libpcre3-dev \
libqt4-opengl-dev \
libqtwebkit-dev \
libqtgui4 \
oxygen-icon-theme \
libopenscenegraph-dev \
libqtwebkit-dev \
libtinyxml2-dev \
liburdfdom-dev \
libxml2-dev \
omniidl \
omniidl-python \
omniorb-nameserver \
openscenegraph \
libpcre3-dev \
oxygen-icon-theme \
python-matplotlib \
qt4-dev-tools \
robotpkg-qpoases+doc \
robotpkg-roboptim-core \
robotpkg-roboptim-trajectory \
ros-${ROS}-common-msgs \
ros-${ROS}-kdl-parser \
ros-${ROS}-octomap \
ros-${ROS}-pr2-description \
ros-${ROS}-srdfdom \
ros-${ROS}-resource-retriever \
ros-${ROS}-tf \
ros-${ROS}-tf-conversions \
ros-${ROS}-xacro \
source-highlight \
sudo \
wget \
&& apt-get remove -y texlive-latex-base texlive-binaries ghostscript \
......
FROM gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc/ubuntu:16.04
ENV DEVEL_HPP_DIR /workspace
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND=noninteractive
ENV DEVEL_HPP_DIR=/workspace UBUNTU=bionic ROS=melodic
RUN apt-get update -y && apt-get install -y \
curl \
gnupg2 \
&& rm -rf /var/lib/apt/lists/*
RUN echo "deb http://packages.ros.org/ros/ubuntu bionic main" > /etc/apt/sources.list.d/ros-latest.list
RUN echo "deb http://packages.ros.org/ros/ubuntu ${UBUNTU} main" > /etc/apt/sources.list.d/ros-latest.list
RUN apt-key adv --keyserver hkp://ha.pool.sks-keyservers.net:80 --recv-key C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654
RUN echo "deb [arch=amd64] http://robotpkg.openrobots.org/wip/packages/debian/pub bionic robotpkg" > /etc/apt/sources.list.d/robotpkg.list
RUN echo "deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub bionic robotpkg" >> /etc/apt/sources.list.d/robotpkg.list
RUN echo "deb [arch=amd64] http://robotpkg.openrobots.org/wip/packages/debian/pub ${UBUNTU} robotpkg" > /etc/apt/sources.list.d/robotpkg.list
RUN echo "deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub ${UBUNTU} robotpkg" >> /etc/apt/sources.list.d/robotpkg.list
RUN curl http://robotpkg.openrobots.org/packages/debian/robotpkg.key | apt-key add -
RUN apt-get update -y && apt-get install -y \
g++ \
cmake \
doxygen \
libboost-dev \
liburdfdom-dev \
libassimp-dev \
libeigen3-dev \
libgraphviz-dev \
robotpkg-omniorb \
robotpkg-qpoases+doc \
robotpkg-roboptim-core \
robotpkg-roboptim-trajectory \
robotpkg-romeo-description \
robotpkg-py36-omniorbpy \
ros-melodic-xacro \
libccd-dev \
ros-melodic-octomap \
ros-melodic-resource-retriever \
ros-melodic-srdfdom \
ros-melodic-pr2-description \
git \
libomniorb4-dev \
omniorb-nameserver \
libltdl-dev \
python-matplotlib \
python-omniorb \
libxml2 \
libtinyxml2-dev \
qt4-dev-tools \
libqt4-opengl-dev \
libqtgui4 \
libqtwebkit-dev \
oxygen-icon-theme \
libopenscenegraph-dev \
openscenegraph \
libpcre3-dev \
wget \
libcdd-dev \
sudo \
cmake \
doxygen \
g++ \
git \
libassimp-dev \
libboost-dev \
libccd-dev \
libcdd-dev \
libeigen3-dev \
libglpk-dev \
libgraphviz-dev \
libltdl-dev \
libomniorb4-dev \
libopenscenegraph-dev \
libpcre3-dev \
libqt4-opengl-dev \
libqtgui4 \
libqtwebkit-dev \
libtinyxml2-dev \
liburdfdom-dev \
libxml2 \
omniorb-nameserver \
openscenegraph \
oxygen-icon-theme \
python-matplotlib \
python-omniorb \
qt4-dev-tools \
robotpkg-omniorb \
robotpkg-qpoases+doc \
robotpkg-roboptim-core \
robotpkg-roboptim-trajectory \
robotpkg-py36-omniorbpy \
ros-${ROS}-octomap \
ros-${ROS}-pr2-description \
ros-${ROS}-resource-retriever \
ros-${ROS}-srdfdom \
ros-${ROS}-xacro \
sudo \
wget \
&& apt-get remove -y texlive-latex-base texlive-binaries ghostscript \
&& apt-get autoremove -y \
&& rm -rf /var/lib/apt/lists/*
......
FROM gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc/ubuntu:18.04
ENV DEVEL_HPP_DIR /workspace
......@@ -74,33 +74,33 @@ variables:
- workspace
stable-18.04-build:
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc/premade:18.04
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc:18.04
only:
- stable
<<: *build_definition
stable-16.04-build:
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc/premade:16.04
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc:16.04
allow_failure: true
only:
- stable
<<: *build_definition
devel-18.04-build:
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc/premade:18.04
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc:18.04
only:
- devel
<<: *build_definition
devel-16.04-build:
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc/premade:16.04
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc:16.04
allow_failure: true
only:
- devel
<<: *build_definition
stable-18.04-test:
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc/premade:18.04
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc:18.04
dependencies:
- stable-18.04-build
only:
......@@ -109,7 +109,7 @@ stable-18.04-test:
stable-16.04-test:
allow_failure: true
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc/premade:16.04
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc:16.04
dependencies:
- stable-16.04-build
only:
......@@ -118,7 +118,7 @@ stable-16.04-test:
devel-18.04-test:
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc/premade:18.04
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc:18.04
dependencies:
- devel-18.04-build
only:
......@@ -126,7 +126,7 @@ devel-18.04-test:
<<: *test_definition
devel-16.04-test:
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc/premade:16.04
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc:16.04
allow_failure: true
dependencies:
- devel-16.04-build
......@@ -135,7 +135,7 @@ devel-16.04-test:
<<: *test_definition
stable-18.04-doc:
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc/premade:18.04
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc:18.04
dependencies:
- stable-18.04-build
only:
......@@ -143,7 +143,7 @@ stable-18.04-doc:
<<: *doc_definition
stable-16.04-doc:
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc/premade:16.04
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc:16.04
allow_failure: true
dependencies:
- stable-16.04-build
......@@ -152,7 +152,7 @@ stable-16.04-doc:
<<: *doc_definition
devel-18.04-doc:
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc/premade:18.04
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc:18.04
dependencies:
- devel-18.04-build
only:
......@@ -160,7 +160,7 @@ devel-18.04-doc:
<<: *doc_definition
devel-16.04-doc:
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc/premade:16.04
image: gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc:16.04
allow_failure: true
dependencies:
- devel-16.04-build
......
......@@ -28,10 +28,8 @@ You will find three files in the directory `${DEVEL_HPP_DIR}/tarball/`:
```
for ubuntu in 16.04 18.04
do
docker build -t gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc/ubuntu:${ubuntu} -f .dockers/ubuntu-${ubuntu}/Dockerfile ./scripts
docker build -t gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc/premade:${ubuntu} -f .dockers/ubuntu-${ubuntu}/Dockerfile.premade ./scripts
docker push gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc/ubuntu:${ubuntu}
docker push gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc/premade:${ubuntu}
docker build -t gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc:$ubuntu -f .dockers/ubuntu-$ubuntu/Dockerfile ./scripts
docker push gitlab.laas.fr:4567/humanoid-path-planner/hpp-doc:$ubuntu
done
```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment