summary refs log tree commit diff
path: root/Dockerfile
blob: 963e9a24b3945de7d11c397318d257aaec0cc099 (plain) (blame)
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
27
28
29
30
31
32
33
34
35
36
37
38
39
FROM ubuntu:xenial

RUN \
    apt-get update -qq && \
    apt-get install -y software-properties-common

RUN \
    add-apt-repository -y ppa:beineri/opt-qt-5.10.1-xenial && \
    apt-get update -qq && \
    apt-get install -y \
        qt510base \
        qt510tools \
        qt510svg \
        qt510multimedia

RUN \
    add-apt-repository ppa:ubuntu-toolchain-r/test && \
    apt-add-repository "deb http://apt.llvm.org/xenial/ llvm-toolchain-xenial-5.0 main" && \
    apt-get update -qq && \
    apt-get install -y --allow-unauthenticated \
        gcc-7 \
        g++-7 \
        cmake \
        clang-5.0 \
        clang-format-5.0 \
        liblmdb-dev

RUN apt-get install -y mesa-common-dev wget fuse git

RUN update-alternatives --install \
        /usr/bin/clang-format \
        clang-format \
        /usr/bin/clang-format-5.0 100

ENV PATH=/opt/qt510/bin:$PATH

RUN mkdir /build

WORKDIR /build