summaryrefslogtreecommitdiff
path: root/tools/docker_rbclient/Dockerfile
blob: ede5455db85e29e06f17a4f2f57663ac7cd5969e (plain)
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
61
62
63
64
65
66
FROM debian:9

WORKDIR /home/rb

ENV HOME /home/rb
ENV MAKEFLAGS -j12

RUN apt-get update && \
    DEBIAN_FRONTEND=noninteractive apt-get install -y \
    build-essential \
    git \
    perl \
    curl \
    texinfo \
    flex \
    bison \
    bzip2 \
    gzip \
    zip \
    patch \
    automake \
    libtool \
    libtool-bin \
    autoconf \
    libmpc-dev \
    gawk \
    python \
    python-lzo \
    python-setuptools \
    mtd-utils \
    xorriso \
    wget \
    subversion \
    libncurses5-dev \
    texlive-latex-base \
    texlive-binaries \
    texlive-latex-extra \
    tex4ht \
    texlive-fonts-recommended \
    lmodern \
    latex-xcolor \
    texlive-base \
    libsdl1.2-dev \
    libsdl1.2debian

RUN cd /home/rb && git clone git://git.rockbox.org/rockbox

RUN cd /home/rb/rockbox && ./tools/rockboxdev.sh --target="s"
RUN cd /home/rb/rockbox && ./tools/rockboxdev.sh --target="m"
RUN cd /home/rb/rockbox && ./tools/rockboxdev.sh --target="a"
RUN cd /home/rb/rockbox && ./tools/rockboxdev.sh --target="i"
RUN cd /home/rb/rockbox && ./tools/rockboxdev.sh --target="x"
RUN cd /home/rb/rockbox && ./tools/rockboxdev.sh --target="y"

# compile sometimes fails; place this last to avoid duplicate work
RUN cd /home/rb/rockbox && ./tools/rockboxdev.sh --target="r"

RUN cd /home/rb/rockbox && \
    wget "http://git.rockbox.org/?p=www.git;a=blob_plain;f=buildserver/rbclient.pl;hb=HEAD" -O rbclient.pl && \
    chmod +x rbclient.pl

COPY runclient_modified.sh /home/rb/rockbox/runclient.sh

RUN cd /home/rb/rockbox && chmod +x runclient.sh

CMD cd /home/rb/rockbox && ./runclient.sh $USER $PASS $NAME