Merge pull request #3683 from ReillyProcentive/fix-issue-3342

Add wrapper script to weave-npc
This commit is contained in:
Bryan Boreham authored and GitHub committed 2019-08-28 11:03:30 +01:00
commit d3f62905b7
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 /usr/bin/
ENTRYPOINT ["/usr/bin/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 $@