Add weave-npc wrapper script
This commit is contained in:
1 parent
b05c5f63c8
commit
3a92050ebb
2 files changed
+8
-1
No files matched your search
@@ -27,7 +27,8 @@ RUN apk add --update \
|
|||||||
&& mknod /var/log/ulogd.pcap p
|
&& mknod /var/log/ulogd.pcap p
|
||||||
COPY ./weave-npc /usr/bin/weave-npc
|
COPY ./weave-npc /usr/bin/weave-npc
|
||||||
COPY ./ulogd.conf /etc/ulogd.conf
|
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:
|
# These labels will change for every build, and should therefore be the last layer of the image:
|
||||||
ARG revision
|
ARG revision
|
||||||
|
|||||||
Executable
+6
@@ -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 $@
|
||||||
Reference in new issue
Block a user