]>
Commit | Line | Data |
---|---|---|
476ff2be SL |
1 | FROM ubuntu:16.04 |
2 | ||
3 | RUN apt-get update && apt-get install -y --no-install-recommends \ | |
4 | g++ \ | |
5 | make \ | |
1b1a35ee | 6 | ninja-build \ |
476ff2be SL |
7 | file \ |
8 | curl \ | |
9 | ca-certificates \ | |
ba9703b0 | 10 | python3 \ |
476ff2be SL |
11 | git \ |
12 | cmake \ | |
476ff2be SL |
13 | libssl-dev \ |
14 | sudo \ | |
32a655c1 | 15 | xz-utils \ |
ff7c6d11 XL |
16 | pkg-config \ |
17 | libgl1-mesa-dev \ | |
18 | llvm-dev \ | |
19 | libfreetype6-dev \ | |
6a06907d XL |
20 | libexpat1-dev \ |
21 | libexpat1-dev \ | |
22 | gnupg \ | |
23 | apt-utils \ | |
24 | wget \ | |
25 | fonts-ipafont-gothic \ | |
26 | fonts-wqy-zenhei \ | |
27 | fonts-thai-tlwg \ | |
28 | fonts-kacst \ | |
29 | fonts-freefont-ttf \ | |
30 | libxss1 \ | |
31 | libxtst6 | |
32 | ||
33 | RUN curl -sL https://nodejs.org/dist/v14.4.0/node-v14.4.0-linux-x64.tar.xz | tar -xJ | |
34 | ENV PATH="/node-v14.4.0-linux-x64/bin:${PATH}" | |
35 | ||
36 | # Install required dependencies from browser-UI-test framework | |
37 | # For now, we need to use `--unsafe-perm=true` to go around an issue when npm tries | |
38 | # to create a new folder. For reference: | |
39 | # https://github.com/puppeteer/puppeteer/issues/375 | |
40 | RUN npm install browser-ui-test -g --unsafe-perm=true | |
476ff2be | 41 | |
041b39d2 XL |
42 | COPY scripts/sccache.sh /scripts/ |
43 | RUN sh /scripts/sccache.sh | |
476ff2be | 44 | |
6a06907d XL |
45 | COPY scripts/cmake.sh /scripts/ |
46 | RUN /scripts/cmake.sh | |
47 | ||
ff7c6d11 | 48 | ENV RUST_CONFIGURE_ARGS --build=x86_64-unknown-linux-gnu |
6a06907d | 49 | ENV RUST_CHECK_TARGET check-aux-and-gui |