rockbox/tools/docker_rbclient/Dockerfile
Franklin Wei 4d52a42e07 docker-rbclient: use CMD instead of ENTRYPOINT
This makes it easier to override from the command line.

Change-Id: I4bbd2995ed442b119b696da94ce1670304e59933
2020-06-25 17:42:42 -04:00

66 lines
1.6 KiB
Docker

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