summaryrefslogtreecommitdiff
path: root/scripts/ci_sanity/Dockerfile
blob: 5b8769e57df28382e7661f7690005592ad071f14 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
FROM ubuntu:disco-20190718

ENV DEBIAN_FRONTEND="noninteractive"
ENV ANDROID_HOME="/opt/android"

WORKDIR /src

# Use faster mirrors from Finland
COPY etc/apt/sources.list /etc/apt

RUN set -eu \
    && apt-get update\
    && apt-get dist-upgrade -y

# Base dependencies
RUN set -eu && apt-get install -y \
    clang-format-8 \
    clang-tidy-8 \
    git \
    npm \
    python3-pip

RUN pip3 install cmake_format

# Cleanup
RUN set -eu && apt-get clean