/
Dockerfile
34 lines (31 loc) · 948 Bytes
/
Dockerfile
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
FROM ubuntu:14.04
ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update && apt-get install --yes --no-install-recommends \
git-core \
mingw-w64 \
wget \
gcc \
g++ \
make \
autotools-dev \
libncurses5-dev \
bzip2 \
libexpat-dev \
bison \
flex \
lib32z1 \
lib32stdc++6 \
&& rm --recursive --force /var/lib/apt/lists/*
ENV HOME="/home/captain" \
PATH="/home/captain/rpi/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin:/opt/parallax/bin:${PATH}"
RUN git clone --depth=1 git://github.com/raspberrypi/tools.git "${HOME}/rpi/tools" && \
chmod 777 "${HOME}/rpi/tools" -R
RUN cd /tmp && \
wget http://ftp.gnu.org/gnu/texinfo/texinfo-4.13a.tar.gz && \
tar -xf texinfo-4.13a.tar.gz && \
cd texinfo-4.13 && \
./configure && \
make -j4 && \
make install && \
cd /tmp && \
rm -rf texinfo*