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:
10
.gitlab-ci/debian.Dockerfile
Normal file
10
.gitlab-ci/debian.Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user