-
Notifications
You must be signed in to change notification settings - Fork 35
/
Dockerfile.build
71 lines (65 loc) · 1.56 KB
/
Dockerfile.build
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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
FROM ubuntu:16.04
MAINTAINER Mingshen Sun <[email protected]>
ENV PATH="/root/.cargo/bin:/usr/lib/go-1.9/bin:${PATH}"
RUN apt-get update && \
apt-get install -q -y --no-install-recommends \
curl \
git \
build-essential \
cmake \
wget \
bc \
gawk \
parallel \
pigz \
cpio \
bison \
flex \
libelf-dev \
xorriso \
fakeroot \
syslinux-utils \
uuid-dev \
libmpc-dev \
libisl-dev \
libz-dev \
python-pip \
python-setuptools \
software-properties-common && \
add-apt-repository -y ppa:gophers/archive && \
apt-get update && \
apt-get install -q -y --no-install-recommends \
golang-1.9-go
# Dependencies of building pypy
RUN apt-get install -q -y --no-install-recommends \
pypy \
gcc \
make \
libffi-dev \
pkg-config \
zlib1g-dev \
libbz2-dev \
libsqlite3-dev \
libncurses5-dev \
libexpat1-dev \
libssl-dev \
libgdbm-dev \
tk-dev \
libgc-dev \
python-cffi \
liblzma-dev \
libncursesw5-dev
# Dependencies of building MesaLink
RUN apt-get install -q -y --no-install-recommends \
m4 \
autoconf \
automake \
libtool \
make \
gcc \
curl
RUN pip install wheel
RUN pip install sphinx
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
RUN rustup install nightly-2018-10-24
RUN rustup default 1.30.1