1
+ # -------------------------------------------------------------------------------------------------------------
2
+ # Copyright (c) Microsoft Corporation. All rights reserved.
3
+ # Licensed under the MIT License. See https://go.microsoft.com/fwlink/?linkid=2090316 for license information.
4
+ # -------------------------------------------------------------------------------------------------------------
5
+
6
+ FROM debian:10
7
+
8
+ # Avoid warnings by switching to noninteractive
9
+ ENV DEBIAN_FRONTEND=noninteractive
10
+
11
+ # Configure apt and install packages
12
+ RUN apt-get update \
13
+ && apt-get -y install --no-install-recommends apt-utils=1.8.2 2>&1 \
14
+ #
15
+ # Verify git, process tools, lsb-release (useful for CLI installs) installed
16
+ && apt-get -y install git=1:2.20.1-2 procps=2:3.3.15-2 lsb-release=10.2019051400 \
17
+ #
18
+ # Install C++ tools
19
+ && apt-get -y install build-essential=12.6 cmake=3.13.4-1 cppcheck=1.86-1 valgrind=1:3.14.0-3 \
20
+ #
21
+ # Install pip
22
+ && apt-get -y install python3-pip=18.1-5 \
23
+ #
24
+ # Install clang
25
+ && apt-get -y install clang=1:7.0-47 clang-tools=1:7.0-47 clang-tidy=1:7.0-47 clang-format=1:7.0-47 \
26
+ #
27
+ # Install meson tools
28
+ && pip3 install meson==0.51.1 \
29
+ && pip3 install ninja==1.9.0.post1 \
30
+ && pip3 install lxml==4.3.4 \
31
+ #
32
+ # Install lcov 1.14-1 (1.13-4 has bug in total no. functions)
33
+ && echo 'deb http://ftp.de.debian.org/debian sid main' >> /etc/apt/sources.list \
34
+ && apt-get update \
35
+ && apt-get -y install lcov=1.14-1 \
36
+ #
37
+ # Clean up
38
+ && apt-get autoremove -y \
39
+ && apt-get clean -y \
40
+ && rm -rf /var/lib/apt/lists/*
41
+
42
+ # Switch back to dialog for any ad-hoc use of apt-get
43
+ ENV DEBIAN_FRONTEND=dialog
0 commit comments