File tree Expand file tree Collapse file tree 3 files changed +77
-0
lines changed Expand file tree Collapse file tree 3 files changed +77
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM debian:jessie
2+
3+ # setup repositories and install required packages
4+ COPY apt.sources.list.debian /etc/apt/sources.list
5+ RUN dpkg --add-architecture armel && \
6+ dpkg --add-architecture armhf && \
7+ apt-key adv --keyserver pgp.mit.edu --recv-keys D57D95AF93178A7C && \
8+ apt-key adv --keyserver pgp.mit.edu --recv-keys 7DE089671804772E && \
9+ apt-get update && \
10+ DEBIAN_FRONTEND=noninteractive apt-get install --yes --no-install-recommends \
11+ bash-completion \
12+ ca-certificates \
13+ cmake \
14+ build-essential \
15+ crossbuild-essential-armel \
16+ crossbuild-essential-armhf \
17+ gdb \
18+ less \
19+ man-db \
20+ nano \
21+ pkg-config \
22+ qemu-user-static \
23+ sudo \
24+ tree \
25+ vim \
26+ wget \
27+ xz-utils \
28+ libcups2-dev:armel \
29+ libfreetype6-dev:armel \
30+ libasound2-dev:armel \
31+ libx11-dev:armel \
32+ libxext-dev:armel \
33+ libxrender-dev:armel \
34+ libxtst-dev:armel \
35+ libxt-dev:armel \
36+ curl \
37+ make \
38+ m4 \
39+ cpio \
40+ gawk \
41+ file \
42+ zip \
43+ unzip \
44+ procps \
45+ autoconf \
46+ autoconf-archive \
47+ automake \
48+ autotools-dev
49+
50+
51+ # copy build patches
52+ RUN mkdir /opt/jdkcross
53+ COPY *.patch *.sh /opt/jdkcross/
54+ RUN chmod +x /opt/jdkcross/*.sh
55+ RUN curl -SL http://download.java.net/java/GA/jdk9/9.0.1/binaries/openjdk-9.0.1_linux-x64_bin.tar.gz | tar -xzC /opt/jdkcross
56+
57+ VOLUME /build
58+
59+ COPY compiler.sudoers /etc/sudoers.d/compiler
60+ RUN chmod 0440 /etc/sudoers.d/compiler && \
61+ adduser --disabled-password --gecos \"\" compiler && \
62+ usermod -a -G sudo compiler
63+ USER compiler
64+ WORKDIR /opt/jdkcross
65+ CMD ["/bin/bash" ] ["--login" ]
Original file line number Diff line number Diff line change 1+ deb http://ftp.debian.org/debian jessie main contrib non-free
2+ deb-src http://ftp.debian.org/debian jessie main contrib non-free
3+
4+ deb http://security.debian.org/ jessie/updates main contrib non-free
5+ deb-src http://security.debian.org/ jessie/updates main contrib non-free
6+
7+ deb http://archive.ev3dev.org/debian jessie main
8+ deb-src http://archive.ev3dev.org/debian jessie main
9+
10+ deb http://emdebian.org/tools/debian/ jessie main
11+ deb-src http://emdebian.org/tools/debian/ jessie main
Original file line number Diff line number Diff line change 1+ compiler ALL=(ALL) NOPASSWD:ALL
You can’t perform that action at this time.
0 commit comments