-
Notifications
You must be signed in to change notification settings - Fork 14
/
Dockerfile
50 lines (43 loc) · 1.29 KB
/
Dockerfile
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
40
41
42
43
44
45
46
47
48
49
50
FROM ubuntu:20.04
RUN apt-get update && apt-get install -y sudo curl
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > init-rustup.sh && chmod +x ./init-rustup.sh && ./init-rustup.sh -y
WORKDIR /app
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get install --fix-missing -y \
git \
git-lfs \
libasound2-dev \
libssl-dev \
cmake \
libfreetype6-dev \
expat \
libexpat1-dev \
libglib2.0-dev \
libcairo-dev \
libpango1.0-dev \
libatk1.0-dev \
libgdk-pixbuf2.0-dev \
libsoup2.4-dev \
libclang-11-dev \
libgdk3.0-cil-dev \
libappindicator3-dev \
libayatana-appindicator3-dev \
libgtksourceview-3.0-dev \
libwebkit2gtk-4.0-dev \
libx11-xcb-dev \
libxcb-icccm4-dev \
libxcb-shape0-dev \
libxcb-dri2-0-dev \
libxcb-xfixes0-dev \
libavahi-client-dev \
lame \
libgtk-3-dev
RUN . $HOME/.cargo/env && cargo install cargo-nextest
RUN . $HOME/.cargo/env && cargo install cargo-tarpaulin
ADD ./scripts/install-llvm-cov.sh /app/scripts/install-llvm-cov.sh
RUN . $HOME/.cargo/env && ./scripts/install-llvm-cov.sh
RUN . $HOME/.cargo/env && rustup component add llvm-tools-preview
RUN sudo apt-get install -y ruby
RUN gem install coveralls-lcov
RUN echo 'source $HOME/.cargo/env' >> $HOME/.bashrc
ADD . /app/