summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2018-03-07 10:38:33 +0100
committerCorentin LABBE <clabbe@baylibre.com>2018-03-08 20:07:14 +0100
commit0276f97db590c8187dc6b8df21c6bb06ca53100f (patch)
tree9c0b19bdbc17f032e57c102cdc80bfa87dbc8c67
parentc79a1c359bf42a0164f85d7e54476e7b1430b0ec (diff)
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.
-rw-r--r--lava-slave/Dockerfile8
1 files 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