mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
docker: Create Cerbero Fedora Docker
This commit is contained in:
parent
932a9c2137
commit
f9435d7312
2 changed files with 31 additions and 0 deletions
|
@ -121,6 +121,18 @@ android 28 amd64 docker:
|
|||
changes:
|
||||
- 'docker/android/*'
|
||||
|
||||
cerbero fedora amd64 docker:
|
||||
stage: "build docker"
|
||||
variables:
|
||||
ARCH: "amd64"
|
||||
TAG: "cerbero-fedora"
|
||||
CONTEXT_DIR: "docker/cerbero/"
|
||||
DOCKERFILE: "docker/cerbero/Dockerfile-fedora"
|
||||
extends: .base
|
||||
only:
|
||||
changes:
|
||||
- 'docker/cerbero/Dockerfile-fedora'
|
||||
|
||||
include: "gitlab/ci_template.yml"
|
||||
|
||||
# Test the build job against the latest build image tag and the local manifest
|
||||
|
|
19
docker/cerbero/Dockerfile-fedora
Normal file
19
docker/cerbero/Dockerfile-fedora
Normal file
|
@ -0,0 +1,19 @@
|
|||
FROM fedora:29
|
||||
|
||||
# System setup
|
||||
RUN echo "fastestmirror=true" >> /etc/dnf/dnf.conf && \
|
||||
dnf upgrade -y && \
|
||||
dnf install -y sudo git rsync
|
||||
|
||||
# Configure git for various usage
|
||||
RUN git config --global user.email "cerbero@gstreamer.freedesktop.org" && \
|
||||
git config --global user.name "Cerbero Build System"
|
||||
|
||||
RUN git clone https://gitlab.freedesktop.org/gstreamer/cerbero.git && \
|
||||
mkdir $HOME/.cerbero && \
|
||||
echo "allow_parallel_build=True" > $HOME/.cerbero/cerbero.cbc && \
|
||||
echo "use_ccache=True" >> $HOME/.cerbero/cerbero.cbc && \
|
||||
cd cerbero && \
|
||||
./cerbero-uninstalled bootstrap -y --system-only && \
|
||||
cd .. && \
|
||||
dnf clean all
|
Loading…
Reference in a new issue