summaryrefslogtreecommitdiff
path: root/tools/docker_rbclient/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/docker_rbclient/Dockerfile')
-rw-r--r--tools/docker_rbclient/Dockerfile66
1 files changed, 66 insertions, 0 deletions
diff --git a/tools/docker_rbclient/Dockerfile b/tools/docker_rbclient/Dockerfile
new file mode 100644
index 0000000000..4c31dedd62
--- /dev/null
+++ b/tools/docker_rbclient/Dockerfile
@@ -0,0 +1,66 @@
1FROM debian:9
2
3WORKDIR /home/rb
4
5ENV HOME /home/rb
6ENV MAKEFLAGS -j12
7
8RUN apt-get update && \
9 DEBIAN_FRONTEND=noninteractive apt-get install -y \
10 build-essential \
11 git \
12 perl \
13 curl \
14 texinfo \
15 flex \
16 bison \
17 bzip2 \
18 gzip \
19 zip \
20 patch \
21 automake \
22 libtool \
23 libtool-bin \
24 autoconf \
25 libmpc-dev \
26 gawk \
27 python \
28 python-lzo \
29 python-setuptools \
30 mtd-utils \
31 xorriso \
32 wget \
33 subversion \
34 libncurses5-dev \
35 texlive-latex-base \
36 texlive-binaries \
37 texlive-latex-extra \
38 tex4ht \
39 texlive-fonts-recommended \
40 lmodern \
41 latex-xcolor \
42 texlive-base \
43 libsdl1.2-dev \
44 libsdl1.2debian
45
46RUN cd /home/rb && git clone git://git.rockbox.org/rockbox
47
48RUN cd /home/rb/rockbox && ./tools/rockboxdev.sh --target="s"
49RUN cd /home/rb/rockbox && ./tools/rockboxdev.sh --target="m"
50RUN cd /home/rb/rockbox && ./tools/rockboxdev.sh --target="a"
51RUN cd /home/rb/rockbox && ./tools/rockboxdev.sh --target="i"
52RUN cd /home/rb/rockbox && ./tools/rockboxdev.sh --target="x"
53RUN cd /home/rb/rockbox && ./tools/rockboxdev.sh --target="y"
54
55# compile sometimes fails; place this last to avoid duplicate work
56RUN cd /home/rb/rockbox && ./tools/rockboxdev.sh --target="r"
57
58RUN cd /home/rb/rockbox && \
59 wget "http://git.rockbox.org/?p=www.git;a=blob_plain;f=buildserver/rbclient.pl;hb=HEAD" -O rbclient.pl && \
60 chmod +x rbclient.pl
61
62COPY runclient_modified.sh /home/rb/rockbox/runclient.sh
63
64RUN cd /home/rb/rockbox && chmod +x runclient.sh
65
66ENTRYPOINT cd /home/rb/rockbox && ./runclient.sh $USER $PASS $NAME