From 69302f0d9db4fd0cade5189cf69c3aec098f91c0 Mon Sep 17 00:00:00 2001 From: Riccardo Maria Bianchi <riccardo.maria.bianchi@cern.ch> Date: Wed, 15 Jul 2020 13:40:47 +0200 Subject: [PATCH] add test dockerfile for ubuntu --- CI/Dockerfile.ubuntu | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 CI/Dockerfile.ubuntu diff --git a/CI/Dockerfile.ubuntu b/CI/Dockerfile.ubuntu new file mode 100644 index 000000000..ea7713c9b --- /dev/null +++ b/CI/Dockerfile.ubuntu @@ -0,0 +1,23 @@ +# Dockerfile.ubuntu + +# --------------------------------------------------------------- +# CI image +# - Used for Gitlab (see .gitlab-ci.yml) +# - MUST be updated whenever the CI installation requirements (i.e., packages/versions) change +# --------------------------------------------------------------- +# ARGS are declared before any FROM so that they are globally available +# Reference: https://github.com/docker/for-mac/issues/2155#issuecomment-372639972 +ARG BASE_DOCKER_IMAGE +# --------------------------------------------------------------- +# Base image +# - Install needed system packages with "apt" +# --------------------------------------------------------------- +# Make the base image configurable +FROM ${BASE_DOCKER_IMAGE} as base + +# good colors for most applications +ENV TERM xterm + +# install system packages +RUN apt-get update -qq && + apt-get install -y -qq git cmake wget unzip build-essential freeglut3-dev libboost-all-dev qt5-default mercurial libeigen3-dev libsqlite3-dev -- GitLab