From 0276f97db590c8187dc6b8df21c6bb06ca53100f Mon Sep 17 00:00:00 2001 From: Corentin LABBE Date: Wed, 7 Mar 2018 10:38:33 +0100 Subject: Move copy of helper scripts Since nothing depends on them, copy them at last step. This prevents rebuild of all docker steps when changing them. --- lava-slave/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lava-slave/Dockerfile b/lava-slave/Dockerfile index b6a2cee..b5e6385 100644 --- a/lava-slave/Dockerfile +++ b/lava-slave/Dockerfile @@ -2,10 +2,6 @@ FROM bitnami/minideb:stretch RUN apt-get update -# Add services helper utilities to start and stop LAVA -COPY scripts/stop.sh . -COPY scripts/start.sh . - # e2fsprogs is for libguestfs RUN \ echo 'lava-server lava-server/instance-name string lava-slave-instance' | debconf-set-selections && \ @@ -57,6 +53,10 @@ RUN apt-get update RUN DEBIAN_FRONTEND=noninteractive apt-get -y install cu RUN rm /etc/apt/sources.list.d/testing.list +# Add services helper utilities to start and stop LAVA +COPY scripts/stop.sh . +COPY scripts/start.sh . + EXPOSE 69/udp 80 CMD /start.sh -- cgit 1.2.3-korg