docker_example

This commit is contained in:
Olof Hagsand 2018-07-21 17:08:50 +00:00
parent 3a39b0361a
commit 524e7e38f0
2 changed files with 6 additions and 4 deletions

View file

@ -52,7 +52,7 @@
### Minor changes ### Minor changes
* Updated the docker image build and changed it to build a single clixon docker image which can be found at olofhagsand/clixon. * Updated the docker image build and changed it to build a single clixon docker image which can be found at olofhagsand/clixon. And the example at olofhagsand/clixon_example.
* Added systemd example files under example/systemd * Added systemd example files under example/systemd
* Changed `plugin_init()` backend return semantics: If returns NULL, _without_ calling clicon_err(), the module is disabled. * Changed `plugin_init()` backend return semantics: If returns NULL, _without_ calling clicon_err(), the module is disabled.
* Added util subdir, with dedicated standalone xml,json,yang and xpath parser utility test programs. * Added util subdir, with dedicated standalone xml,json,yang and xpath parser utility test programs.

View file

@ -51,11 +51,13 @@ CLI_PLUGIN = $(APPNAME)_cli.so
NETCONF_PLUGIN = $(APPNAME)_netconf.so NETCONF_PLUGIN = $(APPNAME)_netconf.so
RESTCONF_PLUGIN = $(APPNAME)_restconf.so RESTCONF_PLUGIN = $(APPNAME)_restconf.so
# Example docker image # Example docker image. PLEASE CHANGE THIS
IMAGE = olofhagsand/clixon_example IMAGE = olofhagsand/clixon_example
PLUGINS = $(BE_PLUGIN) $(BE2_PLUGIN) $(CLI_PLUGIN) $(NETCONF_PLUGIN) $(RESTCONF_PLUGIN) PLUGINS = $(BE_PLUGIN) $(BE2_PLUGIN) $(CLI_PLUGIN) $(NETCONF_PLUGIN) $(RESTCONF_PLUGIN)
.PHONY: all clean depend install docker push
all: $(PLUGINS) all: $(PLUGINS)
# Note: clixon.mk has rules for clixon_DBSPECDIR, clixon_SYSCONFDIR, etc used below # Note: clixon.mk has rules for clixon_DBSPECDIR, clixon_SYSCONFDIR, etc used below