1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-11-04 15:41:19 +00:00
Purism-Calls/.gitlab-ci/debian.Dockerfile
Evangelos Ribeiro Tzaras e49614d203 ci: Include intltool in Debian image
We run it and currently also install it in the check-po script.
Having it preinstalled let's us get rid of the `apt install` stage.

This will help avoiding CI failures like this:

$ apt-get -y install intltool
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
 libc6-dev : Breaks: libglib2.0-dev (<= 2.72.3-1) but 2.72.1-1 is to be installed

From https://gitlab.gnome.org/devrtz/calls/-/jobs/2213858#L39
2022-08-17 11:59:51 +02:00

11 lines
504 B
Docker

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 --no-install-recommends -y install intltool \
&& eatmydata apt-get clean