base hello docker example
This commit is contained in:
parent
ee329ee382
commit
388da01d0b
2 changed files with 4 additions and 7 deletions
|
|
@ -67,11 +67,11 @@ RUN make
|
||||||
RUN make install
|
RUN make install
|
||||||
RUN make install-include
|
RUN make install-include
|
||||||
|
|
||||||
# Build and install the clixon example (not really necessary for base)
|
# Build and install the clixon hello example (not really necessary for base)
|
||||||
WORKDIR /clixon/clixon/example
|
WORKDIR /clixon/clixon/example/hello
|
||||||
RUN make
|
RUN make
|
||||||
RUN make install
|
RUN make install
|
||||||
RUN install example.xml /clixon/build/etc/clixon.xml
|
RUN install hello.xml /clixon/build/etc/clixon.xml # For 2nd level
|
||||||
|
|
||||||
#
|
#
|
||||||
# Stage 2
|
# Stage 2
|
||||||
|
|
@ -87,9 +87,6 @@ RUN adduser -D -H www-data
|
||||||
# nginx adds group www-data
|
# nginx adds group www-data
|
||||||
RUN apk add --update nginx
|
RUN apk add --update nginx
|
||||||
|
|
||||||
# Test-specific (for test scripts)
|
|
||||||
#RUN apk add --update sudo curl bash
|
|
||||||
|
|
||||||
# Expose nginx port for restconf
|
# Expose nginx port for restconf
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -118,8 +118,8 @@ clean:
|
||||||
distclean: clean
|
distclean: clean
|
||||||
rm -f Makefile *~ .depend
|
rm -f Makefile *~ .depend
|
||||||
|
|
||||||
|
|
||||||
install: $(YANGSPECS) $(CLISPECS) $(PLUGINS) $(APPNAME).xml
|
install: $(YANGSPECS) $(CLISPECS) $(PLUGINS) $(APPNAME).xml
|
||||||
|
install -d -m 0755 $(dir $(DESTDIR)$(CLIXON_DEFAULT_CONFIG))
|
||||||
install -m 0644 $(APPNAME).xml $(DESTDIR)$(CLIXON_DEFAULT_CONFIG)
|
install -m 0644 $(APPNAME).xml $(DESTDIR)$(CLIXON_DEFAULT_CONFIG)
|
||||||
install -d -m 0755 $(DESTDIR)$(libdir)/$(APPNAME)
|
install -d -m 0755 $(DESTDIR)$(libdir)/$(APPNAME)
|
||||||
install -d -m 0755 $(DESTDIR)$(libdir)/$(APPNAME)/clispec
|
install -d -m 0755 $(DESTDIR)$(libdir)/$(APPNAME)/clispec
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue