Debian Codegraph @

.ci/Containerfile.gitlabci

raw
1 # SPDX-License-Identifier: AGPL-3.0-or-later
2
3 FROM debian:testing
4
5 USER root
6 COPY . /plinth
7 WORKDIR /plinth
8
9 RUN echo "deb http://deb.debian.org/debian testing main" > /etc/apt/sources.list
10
11 ENV DEBIAN_FRONTEND=noninteractive
12
13 RUN apt-get update
14
15 # Dependencies of the freedombox Debian package
16 RUN apt-get build-dep -y .
17
18 # Build dependencies
19 RUN apt-get install -y build-essential \
20 # Test dependencies
21 sshpass parted \
22 sudo python3-pip \
23 python3-flake8
24
25 # Module dependencies
26 RUN apt-get install -y $(./run --list-dependencies)
27
28 # Coverage should know that test_functional.py files are tests
29 RUN pip3 install --break-system-packages splinter