docker netconf

This commit is contained in:
Olof Hagsand 2016-02-28 11:06:24 +01:00
parent cd0883ba95
commit baa5611616
12 changed files with 103 additions and 19 deletions

View file

@ -11,7 +11,6 @@ RUN ldconfig
RUN sudo groupadd clicon
CMD ["/usr/sbin/clicon_backend", "-D", "1", "-F", "-f", "/data/clicon.conf"]
EXPOSE 7878 7878/udp

View file

@ -28,6 +28,7 @@ sbindir = @sbindir@
libdir = @libdir@
includedir = @includedir@
datarootdir = @datarootdir@
# You may consider changing this
image = olofhagsand/clicon_backend
all:
@ -35,7 +36,7 @@ all:
clean:
distclean: clean
rm -f Makefile *~ .depend libcli* clicon_cli clicon_backend Dockerfile
rm -f Makefile *~ .depend libcligen* libclicon* clicon_backend Dockerfile
# Kind of reverse install, could have copied from src dir,...
.PHONY: docker push