Commit 3b590cf9 authored by Pekka Paalanen's avatar Pekka Paalanen

CI: build customized Debian docker image

Build a custom image that contains everything installed as part
of each CI run in the before_script.

The Dockerfile contains instructions on how to submit changes to the
image in upstream without causing temporary CI failures.

The image needs to be identified per build, because it pulls things from
internet that will change over time. That means that an image built from
the same Weston commit may be different if built again. Hence the
unique image tag contains also the build id.

To avoid cluttering forks with unnecessary images, the automatic image
build will happen only on a master branch in the upstream repository and
only if Dockerfile is changed. Contributors can trigger an image build
in their own branches by launching a pipeline from the Web UI with
FORCE_DOCKER variable.
Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <pq@iki.fi>
parent 00a6e01d
Pipeline #11017 passed with stages