]> git.proxmox.com Git - rustc.git/blame - src/ci/docker/host-x86_64/x86_64-gnu-aux/Dockerfile
New upstream version 1.52.0~beta.3+dfsg1
[rustc.git] / src / ci / docker / host-x86_64 / x86_64-gnu-aux / Dockerfile
CommitLineData
476ff2be
SL
1FROM ubuntu:16.04
2
3RUN 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
33RUN curl -sL https://nodejs.org/dist/v14.4.0/node-v14.4.0-linux-x64.tar.xz | tar -xJ
34ENV 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
40RUN npm install browser-ui-test -g --unsafe-perm=true
476ff2be 41
041b39d2
XL
42COPY scripts/sccache.sh /scripts/
43RUN sh /scripts/sccache.sh
476ff2be 44
6a06907d
XL
45COPY scripts/cmake.sh /scripts/
46RUN /scripts/cmake.sh
47
ff7c6d11 48ENV RUST_CONFIGURE_ARGS --build=x86_64-unknown-linux-gnu
6a06907d 49ENV RUST_CHECK_TARGET check-aux-and-gui