Commit ba848e90 authored by Pierre Aubert's avatar Pierre Aubert
Browse files

Add proper docker image for CI

parent 6127380e
Pipeline #98030 passed with stages
in 11 minutes and 44 seconds
- BuildTestinstall
# Version 0.1
FROM ubuntu:20.04
# Ensure use of bash
SHELL ["/bin/bash","-c"]
# Time Zone
ENV TZ=Europe/Paris
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN touch /etc/apt/apt.conf.d/99verify-peer.conf \
&& echo >>/etc/apt/apt.conf.d/99verify-peer.conf "Acquire { https::Verify-Peer false }"
# Apt
RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selections
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get -y update
RUN apt-get install -y apt-utils
RUN apt-get install -y wget
RUN apt-get install -y gcc g++ cmake make git
# Gcov goes with gcc
RUN apt-get install -y doxygen graphviz
RUN apt-get install -y libzmq3-dev
RUN apt-get install -y gcovr
# && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN apt-get -y clean autoremove
docker build -t phoenix_math:0.1 .
# docker login -u paubert
docker build -t .
docker push
# List images
# docker images
# Remove images
# docker image rm img1 img2
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