Add weave-npc wrapper script

This commit is contained in:
Reilly Brogan committed 2019-08-08 14:42:56 -05:00
1 parent b05c5f63c8
commit 3a92050ebb
2 files changed
+8 -1

No files matched your search

+2 -1
View File
@@ -27,7 +27,8 @@ RUN apk add --update \
&& mknod /var/log/ulogd.pcap p
COPY ./weave-npc /usr/bin/weave-npc
COPY ./ulogd.conf /etc/ulogd.conf
ENTRYPOINT ["/usr/bin/weave-npc"]
COPY ./launch.sh /home/weave/
ENTRYPOINT ["/home/weave/launch.sh"]
# These labels will change for every build, and should therefore be the last layer of the image:
ARG revision
+6
View File
@@ -0,0 +1,6 @@
#!/bin/sh
set -e
# Start weave-npc with any flags specified in $EXTRA_ARGS as well as any flags passed to this container (for backwards compatibility)
exec /usr/bin/weave-npc $EXTRA_ARGS $@