summaryrefslogtreecommitdiffstats
path: root/lava-slave
diff options
context:
space:
mode:
authorCorentin LABBE <clabbe@baylibre.com>2020-01-16 14:50:52 +0100
committerCorentin LABBE <clabbe@baylibre.com>2020-02-26 15:52:41 +0100
commit3c351c8a3e168efec48c5d4000ecdc948c0085a1 (patch)
tree48bb64d4873e62aa44c732a253fb5d8606c3374f /lava-slave
parent0ffd1e217b5463124131b22de480deed73910580 (diff)
lava-slave: copy entrypoints
This patch permit to adds custom entrypoints.
Diffstat (limited to 'lava-slave')
-rw-r--r--lava-slave/Dockerfile2
-rw-r--r--lava-slave/entrypoint.d/.empty0
2 files changed, 2 insertions, 0 deletions
diff --git a/lava-slave/Dockerfile b/lava-slave/Dockerfile
index a2ce4b3..b16da41 100644
--- a/lava-slave/Dockerfile
+++ b/lava-slave/Dockerfile
@@ -63,6 +63,8 @@ COPY devices/ /root/devices/
COPY tags/ /root/tags/
COPY aliases/ /root/aliases/
COPY deviceinfo/ /root/deviceinfo/
+COPY entrypoint.d/*sh /root/entrypoint.d/
+RUN chmod +x /root/entrypoint.d/*
RUN if [ -x /usr/local/bin/extra_actions ] ; then /usr/local/bin/extra_actions ; fi
diff --git a/lava-slave/entrypoint.d/.empty b/lava-slave/entrypoint.d/.empty
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/lava-slave/entrypoint.d/.empty