gitlab-ci: Use prebuilt containers

This image has all build dependencies to speed up build and tests.
Copied from
phosh (d8b2e5651b)
with minor modifications for Calls.

Use

 .gitlab-ci/run-docker.sh --base debian build --version 0.0.<date>
 .gitlab-ci/run-docker.sh --base debian push --version 0.0.<date>

to update.
This commit is contained in:
Evangelos Ribeiro Tzaras
2021-12-21 12:27:10 +01:00
parent c12b7a8c69
commit a21fded449
3 changed files with 159 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
FROM debian:bookworm-slim
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y update \
&& apt-get -y install --no-install-recommends wget ca-certificates gnupg eatmydata \
&& eatmydata apt-get -y update \
&& cd /home/user/app \
&& eatmydata apt-get --no-install-recommends -y build-dep . \
&& eatmydata apt-get --no-install-recommends -y install build-essential git wget gcovr \
&& eatmydata apt-get clean