Commit 8307ded7 authored by Ghislain MARY's avatar Ghislain MARY Committed by Ronan

Add ArchLinux docker image for CI.

parent 59c9a02c
......@@ -222,6 +222,17 @@ job-ios-upload:
- schedules
job-archlinux-latest-makefile-gcc:
tags: [ "docker-archlinux-latest" ]
image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-archlinux:latest
variables:
CMAKE_GENERATOR: Unix Makefiles
CC: gcc
CXX: g++
extends: .scheduled-job-linux-desktop
job-centos7-makefile-gcc:
tags: [ "docker-centos7" ]
......@@ -269,6 +280,27 @@ job-ubuntu-rolling-makefile-gcc:
extends: .scheduled-job-linux-desktop
job-archlinux-latest-ninja-gcc:
tags: [ "docker-archlinux-latest" ]
image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-archlinux:latest
variables:
CMAKE_GENERATOR: Ninja
CC: gcc
CXX: g++
extends: .job-linux-desktop
job-archlinux-latest-ninja-gcc-novideo:
tags: [ "docker-archlinux-latest" ]
only:
- schedules
variables:
CMAKE_OPTIONS: -DENABLE_VIDEO=NO
extends: job-archlinux-latest-ninja-gcc
job-centos7-ninja-gcc:
tags: [ "docker-centos7" ]
......@@ -350,6 +382,17 @@ job-ubuntu-rolling-ninja-gcc-novideo:
extends: job-ubuntu-rolling-ninja-gcc
job-archlinux-latest-makefile-clang:
tags: [ "docker-archlinux-latest" ]
image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-archlinux:latest
variables:
CMAKE_GENERATOR: Unix Makefiles
CC: clang
CXX: clang++
extends: .scheduled-job-linux-desktop
job-centos7-makefile-clang:
tags: [ "docker-centos7" ]
......@@ -397,6 +440,26 @@ job-ubuntu-rolling-makefile-clang:
extends: .scheduled-job-linux-desktop
job-archlinux-latest-ninja-clang:
tags: [ "docker-archlinux-latest" ]
image: gitlab.linphone.org:4567/bc/public/linphone-sdk/bc-dev-archlinux:latest
variables:
CMAKE_GENERATOR: Ninja
CC: clang
CXX: clang++
extends: .job-linux-desktop
job-archlinux-latest-ninja-clang-novideo:
only:
- schedules
variables:
CMAKE_OPTIONS: -DENABLE_VIDEO=NO
extends: job-archlinux-latest-ninja-clang
job-centos7-ninja-clang:
tags: [ "docker-centos7" ]
......
......@@ -6,6 +6,9 @@ android-r16b:
android-r17c:
docker build -f bc-dev-android-r17c -t $(BASE_NAME)/bc-dev-android:r17c --rm .
archlinux-latest:
docker build -f bc-dev-archlinux-latest -t $(BASE_NAME)/bc-dev-archlinux:latest --rm .
centos7:
docker build -f bc-dev-centos7 -t $(BASE_NAME)/bc-dev-centos:7 --rm .
......@@ -18,4 +21,4 @@ debian9:
ubuntu-rolling:
docker build -f bc-dev-ubuntu-rolling -t $(BASE_NAME)/bc-dev-ubuntu:rolling --rm .
.PHONY: android-r16b android-r17c centos7 debian8 debian9 ubuntu-rolling
.PHONY: android-r16b android-r17c archlinux-latest centos7 debian8 debian9 ubuntu-rolling
FROM base/archlinux:latest
MAINTAINER Ghislain MARY <ghislain.mary@belledonne-communications.com>
# Configure locale
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && \
locale-gen
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
ENV SHELL=/bin/bash
#ENV PS1='\[\e[33m\]\u@bc-dev-archlinux-latest>\[\e[0m\] '
# Install common general tools
RUN pacman --noconfirm --noprogressbar -Syu && \
pacman --noconfirm --noprogressbar -S nano sudo vim && \
pacman -Scc
# Install development tools
RUN pacman --noconfirm --noprogressbar -Syu && \
pacman --noconfirm --noprogressbar -S at autoconf automake bison ccache clang cmake doxygen elfutils gcc gdb git graphviz intltool libtool lsb-release make nasm ninja patch pkgconf python-pip python-six yasm && \
pacman -Scc && \
pip install pystache javasphinx sphinx sphinx_csharp
# Install linphone & flexisip dependencies development packages
RUN pacman --noconfirm --noprogressbar -Syu && \
pacman --noconfirm --noprogressbar -S alsa-lib ffmpeg glew gsm jansson libbsd libjpeg-turbo libsrtp libvpx libxml2 libxv mariadb mbedtls mesa net-snmp openssl opus postgresql protobuf pulseaudio qt5-base qt5-declarative qt5-quickcontrols2 qt5-speech qt5-svg qt5-tools speex speexdsp sqlite v4l-utils xerces-c xsd && \
pacman -Scc
# Configure user bc
RUN useradd -ms /bin/bash bc && \
echo 'bc:cotcot' | chpasswd && \
echo 'bc ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
USER bc
WORKDIR /home/bc
CMD bash
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