diff options
author | khilman <khilman@users.noreply.github.com> | 2018-07-16 09:19:33 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-16 09:19:33 -0500 |
commit | ed83f7aa1af39e75c10d5e8c4f1385c302beec12 (patch) | |
tree | 62f7a84132c06b1c0f121c25908387854aae820b /lava-slave/Dockerfile | |
parent | c0ef82c6a0673990f2dfaa0bcf47287a5513eb27 (diff) | |
parent | 32221a4e8fe36fd5c3c972039932cb53a25b1d5c (diff) |
Merge pull request #30 from montjoie/fix072018
Fix072018
Diffstat (limited to 'lava-slave/Dockerfile')
-rw-r--r-- | lava-slave/Dockerfile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lava-slave/Dockerfile b/lava-slave/Dockerfile index b7252ef..a5b0148 100644 --- a/lava-slave/Dockerfile +++ b/lava-slave/Dockerfile @@ -53,6 +53,9 @@ RUN apt-get update RUN DEBIAN_FRONTEND=noninteractive apt-get -y install cu RUN rm /etc/apt/sources.list.d/testing.list +RUN apt-get -y install ser2net +COPY ser2net.conf /etc + COPY scripts/lava-slave /etc/init.d/ RUN chmod 755 /etc/init.d/lava-slave @@ -78,6 +81,11 @@ COPY devices/ /root/devices/ COPY scripts/extra_actions /root/ RUN if [ -x /root/extra_actions ] ; then /root/extra_actions ; fi +RUN apt-get -y install screen openssh-server +RUN ssh-keygen -q -f /root/.ssh/id_rsa +RUN cat /root/.ssh/id_rsa.pub > /root/.ssh/authorized_keys +COPY lava-screen.conf /root/ + EXPOSE 69/udp 80 CMD /start.sh |