1
- FROM ubuntu:15.10
1
+ FROM ubuntu:16.04
2
2
3
3
RUN apt-get update
4
4
RUN apt-get install -y --force-yes --no-install-recommends \
5
5
curl make cmake git wget file \
6
- python-dev python-pip stunnel \
6
+ python-dev python-pip python-setuptools stunnel \
7
7
bzip2 xz-utils \
8
8
g++ libc6-dev \
9
9
g++-4.8-powerpc-linux-gnu libc6-dev-powerpc-cross \
10
10
g++-4.8-powerpc64le-linux-gnu libc6-dev-ppc64el-cross \
11
11
lib64gcc-4.8-dev-powerpc-cross libc6-dev-ppc64-powerpc-cross \
12
12
lib64stdc++-4.8-dev-powerpc-cross \
13
- software-properties-common bsdtar
14
- RUN add-apt-repository ppa:angelsl/mips-cross && apt-get update
15
- RUN apt-get install -y --force-yes --no-install-recommends \
13
+ bsdtar \
14
+ cmake \
16
15
g++-5-mips-linux-gnu libc6-dev-mips-cross \
17
16
g++-5-mipsel-linux-gnu libc6-dev-mipsel-cross
18
17
@@ -29,16 +28,16 @@ RUN \
29
28
ln -vs $f `echo $f | sed -e 's/-4.7$//' `; \
30
29
done
31
30
32
- # Install rumprun cross compiler
33
- WORKDIR /build
34
- COPY linux-cross/build_rumprun.sh /build/
35
- RUN /bin/bash build_rumprun.sh && rm -rf /build
36
-
37
31
# Install buildbot and prep it to run
38
32
RUN pip install buildbot-slave
39
33
RUN groupadd -r rustbuild && useradd -m -r -g rustbuild rustbuild
40
34
RUN mkdir /buildslave && chown rustbuild:rustbuild /buildslave
41
35
36
+ # Install rumprun cross compiler
37
+ WORKDIR /build
38
+ COPY linux-cross/build_rumprun.sh /build/
39
+ RUN /bin/bash build_rumprun.sh && rm -rf /build
40
+
42
41
# Build/install crosstool-ng cross compilers
43
42
# NOTE crosstool-ng can't be executed by root so we execute it under the
44
43
# rustbuild user. /x-tools is the crosstool-ng output directory and /build is
0 commit comments