Build Ubuntu base image

This commit is contained in:
Xavier Claessens 2018-11-22 13:24:26 -05:00
parent af66e26160
commit 68a71431b8
3 changed files with 33 additions and 12 deletions

View file

@ -105,6 +105,18 @@ ubuntu amd64 run docker:
changes:
- 'docker/runtime-images/Dockerfile-ubuntu'
ubuntu amd64 build docker:
stage: "build base"
variables:
ARCH: "amd64"
TAG: "ubuntu-build"
CONTEXT_DIR: "docker/build-base-images/"
DOCKERFILE: "docker/build-base-images/Dockerfile-ubuntu"
extends: .base
only:
changes:
- 'docker/build-base-images/Dockerfile-ubuntu'
include: "gitlab/ci_template.yml"
# Test the build job against the latest build image tag and the local manifest
@ -112,4 +124,12 @@ build fedora x86_64 local:
extends: '.build'
image: "${CI_REGISTRY_IMAGE}/amd64/fedora-build:latest"
dependencies:
- 'manifest'
- 'manifest'
build ubuntu x86_64 local:
extends: '.build'
variables:
MESON_ARGS: "${DEFAULT_MESON_ARGS} -Dlibav=disabled"
image: "${CI_REGISTRY_IMAGE}/amd64/ubuntu-build:latest"
dependencies:
- 'manifest'

View file

@ -1,4 +1,4 @@
FROM registry.freedesktop.org/gstreamer/gst-ci/ubuntu-runtime
FROM registry.freedesktop.org/gstreamer/gst-ci/amd64/ubuntu-runtime
# make source packages available in order to figure out build dependencies
RUN \

View file

@ -4,6 +4,16 @@ stages:
variables:
GIT_STRATEGY: none
DEFAULT_MESON_ARGS: >
-Dpython=enabled
-Dlibav=enabled
-Dugly=enabled
-Dbad=enabled
-Ddevtools=enabled
-Dges=enabled
-Drtsp_server=enabled
-Dvaapi=enabled
-Dsharp=disabled
manifest:
image: 'registry.freedesktop.org/gstreamer/gst-ci/amd64/alpine-manifest-build:10ffa6f1af6fed20a8857d2c7426d81cf162e3d1'
@ -26,16 +36,7 @@ manifest:
CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
CCACHE_DIR: "${CI_PROJECT_DIR}/ccache"
MAIN_DIR: "${CI_PROJECT_DIR}"
MESON_ARGS: >
-Dpython=enabled
-Dlibav=enabled
-Dugly=enabled
-Dbad=enabled
-Ddevtools=enabled
-Dges=enabled
-Drtsp_server=enabled
-Dvaapi=enabled
-Dsharp=disabled
MESON_ARGS: "${DEFAULT_MESON_ARGS}"
script:
# Not sure why, but permission errors else