Initial commit of OpenLP Docker Runners

This commit is contained in:
Raoul Snyman 2019-09-16 22:03:02 -07:00
commit 4125d042e2
Signed by: raoul
GPG Key ID: F55BCED79626AE9C
5 changed files with 67 additions and 0 deletions

36
.gitlab-ci.yml Normal file
View File

@ -0,0 +1,36 @@
image: docker:stable
services:
- docker:dind
variables:
CONTAINER_IMAGE: registry.gitlab.com/$CI_PROJECT_PATH
DOCKER_HOST: tcp://docker:2375
DOCKER_DRIVER: overlay2
before_script:
- docker login -u gitlab-ci-token -p $CI_JOB_TOKEN registry.gitlab.com
build-debian:
stage: build
script:
- docker pull $CONTAINER_IMAGE:debian || true
- docker build --cache-from $CONTAINER_IMAGE:debian --tag $CONTAINER_IMAGE:$CI_COMMIT_SHA --tag $CONTAINER_IMAGE:debian -f Dockerfile.debian .
- docker push $CONTAINER_IMAGE:$CI_COMMIT_SHA
- docker push $CONTAINER_IMAGE:debian
build-ubuntu:
stage: build
script:
- docker pull $CONTAINER_IMAGE:ubuntu || true
- docker build --cache-from $CONTAINER_IMAGE:ubuntu --tag $CONTAINER_IMAGE:$CI_COMMIT_SHA --tag $CONTAINER_IMAGE:ubuntu -f Dockerfile.ubuntu .
- docker push $CONTAINER_IMAGE:$CI_COMMIT_SHA
- docker push $CONTAINER_IMAGE:ubuntu
build-fedora:
stage: build
script:
- docker pull $CONTAINER_IMAGE:fedora || true
- docker build --cache-from $CONTAINER_IMAGE:fedora --tag $CONTAINER_IMAGE:$CI_COMMIT_SHA --tag $CONTAINER_IMAGE:fedora -f Dockerfile.fedora .
- docker push $CONTAINER_IMAGE:$CI_COMMIT_SHA
- docker push $CONTAINER_IMAGE:fedora

10
Dockerfile.debian Normal file
View File

@ -0,0 +1,10 @@
FROM debian:unstable
RUN apt-get update && DEBIAN_FRONTEND=noninteractive \
apt-get install -y python3 qttools5-dev-tools pyqt5-dev-tools python3-pyqt5 python3-pyqt5.qtmultimedia \
python3-pyqt5.qtsvg python3-pyqt5.qtopengl python3-pyqt5.qtwebchannel python3-pyqt5.qtwebkit \
python3-pyqt5.qtwebengine python3-sqlalchemy python3-chardet python3-lxml python3-enchant \
python3-bs4 python3-mako python3-uno python3-pytest python3-pytest-cov python3-pip \
python3-alembic python3-xdg python3-dbus.mainloop.pyqt5 python3-pep8 python3-websockets \
python3-waitress python3-webob python3-requests python3-pymediainfo python3-qtawesome \
python3-opengl python3-appdirs python3-vlc python3-zeroconf mediainfo pylint3 xvfb

7
Dockerfile.fedora Normal file
View File

@ -0,0 +1,7 @@
FROM fedora
RUN dnf install -y python3-PyQt5 python3-qt5-webkit python3-qt5-webengine python3-sqlalchemy python3-alembic \
python3-beautifulsoup4 python3-chardet python3-enchant python3-lxml python3-pyxdg python3-pytest \
python3-websockets python3-appdirs python3-webob python3-QtAwesome python3-waitress \
python3-pymediainfo python3-pyopengl python3-pylint python-pysword python3-requests \
mediainfo patch xorg-x11-server-Xvfb python3-vlc python3-zeroconf

10
Dockerfile.ubuntu Normal file
View File

@ -0,0 +1,10 @@
FROM ubuntu:rolling
RUN apt-get update && DEBIAN_FRONTEND=noninteractive \
apt-get install -y python3 qttools5-dev-tools pyqt5-dev-tools python3-pyqt5 python3-pyqt5.qtmultimedia \
python3-pyqt5.qtsvg python3-pyqt5.qtopengl python3-pyqt5.qtwebchannel python3-pyqt5.qtwebkit \
python3-pyqt5.qtwebengine python3-sqlalchemy python3-chardet python3-lxml python3-enchant \
python3-bs4 python3-mako python3-uno python3-pytest python3-pytest-cov python3-pip \
python3-alembic python3-xdg python3-dbus.mainloop.pyqt5 python3-pep8 python3-websockets \
python3-waitress python3-webob python3-requests python3-pymediainfo python3-qtawesome \
python3-opengl python3-appdirs python3-vlc python3-zeroconf mediainfo pylint3 xvfb

4
README.rst Normal file
View File

@ -0,0 +1,4 @@
OpenLP Docker Runners
=====================
This repository holds the configuration to build the Docker runners for testing OpenLP.