aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile22
1 files changed, 19 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index cdb592f..3ac5613 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -19,12 +19,15 @@ RUN dpkg --add-architecture i386
#RUN echo deb http://mirrors.163.com/debian/ jessie-updates main non-free >> /etc/apt/sources.list
RUN echo deb http://ftp.us.debian.org/debian jessie main non-free >> /etc/apt/sources.list
RUN echo deb http://ftp.us.debian.org/debian jessie-updates main non-free >> /etc/apt/sources.list
-RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -yV install apt-utils daemon gcc make python-paramiko python-lxml python-simplejson python-matplotlib libtool xmlstarlet autoconf automake rsync openjdk-7-jre openjdk-7-jdk iperf netperf netpipe-tcp texlive-latex-base sshpass wget git sudo net-tools vim openssh-server curl bzip2
+RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -yV install apt-utils daemon gcc make python-paramiko python-lxml python-simplejson python-matplotlib libtool xmlstarlet autoconf automake rsync openjdk-7-jre openjdk-7-jdk iperf netperf netpipe-tcp texlive-latex-base sshpass wget git sudo net-tools vim openssh-server curl bzip2 wget
+RUN wget -q -O - http://pkg.jenkins.io/debian/jenkins.io.key | apt-key add -
+RUN echo deb http://pkg.jenkins.io/debian binary/ >> /etc/apt/sources.list
+RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -yV install jenkins
RUN /bin/bash -c 'echo "dash dash/sh boolean false" | debconf-set-selections ; DEBIAN_FRONTEND=noninteractive dpkg-reconfigure dash'
#COPY frontend-install/jenkins_1.509.2_all.deb /jta-install/
#RUN dpkg -i /jta-install/jenkins_1.509.2_all.deb
-COPY frontend-install/jenkins_1.642.4_all.deb /jta-install/
-RUN dpkg -i /jta-install/jenkins_1.642.4_all.deb
+#COPY frontend-install/jenkins_1.642.4_all.deb /jta-install/
+#RUN dpkg -i /jta-install/jenkins_1.642.4_all.deb
RUN /bin/bash -c 'wget -nv "http://downloads.sourceforge.net/project/getfo/texml/texml-2.0.2/texml-2.0.2.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fgetfo%2F&ts=1398789654&use_mirror=sunet" -O texml.tar.gz ; tar xvf texml.tar.gz; cd texml-2.0.2 ; python setup.py install; cd -'
# ==============================================================================
@@ -44,6 +47,19 @@ COPY frontend-install/jenkins.cfg /etc/default/jenkins
COPY docs $INST_JTA_FRONTEND_PATH/userContent/docs/
# ==============================================================================
+# get LAVA-boot via git
+# ==============================================================================
+
+RUN mkdir -p $INST_JTA_ENGINE_PATH
+RUN git clone https://git.linaro.org/people/riku.voipio/lava-boot.git $INST_JTA_ENGINE_PATH/lava-boot
+RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -yV install python-requests python-yaml
+#COPY .lava.yaml template
+RUN ln -s /userdata/conf/.lava.yaml $INST_JTA_ENGINE_PATH/.lava.yaml
+#COPY boardready.py
+RUN ln -s /userdata/conf/boardready.py $INST_JTA_ENGINE_PATH/boardready.py
+
+
+# ==============================================================================
# Init userdata
# ==============================================================================