-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathDockerfile
More file actions
executable file
·60 lines (57 loc) · 1.28 KB
/
Dockerfile
File metadata and controls
executable file
·60 lines (57 loc) · 1.28 KB
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
FROM debian/eol:wheezy
MAINTAINER Valerio Di Giampietro "valerio@digiampietro.com"
#
# increase the version to force recompilation of everything
#
ENV BUILDROOT_MIPS4KC 0.8.5
#
# ------------------------------------------------------------------
# environment variables to avoid that dpkg-reconfigure
# tries to ask the user any questions
#
ENV DEBIAN_FRONTEND noninteractive
ENV DEBCONF_NONINTERACTIVE_SEEN true
#
# -----------------------------------------------------------------
# install needed packages to build and run buildroot and related sw
#
RUN apt-get update
RUN apt-get upgrade
RUN apt-get install -y -q \
bash \
bc \
binutils \
build-essential \
bzip2 \
ca-certificates \
cpio \
debianutils \
g++ \
gcc \
gzip \
libncurses5-dev \
locales \
make \
patch \
perl \
python \
rsync \
sed \
tar \
unzip \
wget \
git \
fakeroot \
login \
libqt4-dev \
pkg-config \
procps \
libqt4-dev-bin
RUN sed -i "s/^# en_US.UTF-8/en_US.UTF-8/" /etc/locale.gen && locale-gen && update-locale LANG=en_US.UTF-8
#
# prepare startup files in /src/misc
#
RUN mkdir -p /src/misc
ADD startup.sh /src/misc/startup.sh
RUN chmod a+x /src/misc/startup.sh
ENTRYPOINT cd /src/misc ; ./startup.sh