containers.yml: build with docker.py tooling
commitc8e6793903385fe30caf5d23eaed0d339f7aa6cb
authorAlex Bennée <alex.bennee@linaro.org>
Wed, 1 Jul 2020 13:56:50 +0000 (1 14:56 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Sat, 11 Jul 2020 14:53:00 +0000 (11 15:53 +0100)
treeee8df64c270fe0d65a9fd79111691860064827f5
parentf2c5466c78da786dbf6506e3a15b856b7427708e
containers.yml: build with docker.py tooling

Instead of building the docker files directly use the same docker.py
scripting as we do for building locally. This should help ensure we
use the exact same steps and allow us to cache properly when building
locally.

To get this working you have to have a fairly recent docker binary
otherwise you will see the error message:

 => ERROR importing cache manifest from registry.gitlab....

So far docker 19.03.12 works (from the docker apt repos) but 18.09.1,
build 4c52b90 which is packaged in Debian Buster fails.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200701135652.1366-39-alex.bennee@linaro.org>
.gitlab-ci.d/containers.yml