Added Clixon example full system docker container, see [docker/system].
This commit is contained in:
parent
ae8d28fae8
commit
2b596591f1
24 changed files with 439 additions and 124 deletions
|
|
@ -38,15 +38,17 @@ CFLAGS = @CFLAGS@
|
|||
LDFLAGS = @LDFLAGS@
|
||||
LIBS = @LIBS@
|
||||
|
||||
# Change this
|
||||
IMAGE = olofhagsand/clixon
|
||||
# Example docker image. PLEASE CHANGE THIS IF YOU PUSH
|
||||
IMG_BASE = olofhagsand/clixon # base image
|
||||
|
||||
SHELL = /bin/sh
|
||||
|
||||
SUBDIRS = system
|
||||
#SUBDIRS += cluster
|
||||
|
||||
.PHONY: all clean depend install docker push
|
||||
|
||||
all:
|
||||
all: $(SUBDIRS)
|
||||
echo "Run make docker to build docker image"
|
||||
|
||||
clean:
|
||||
|
|
@ -54,12 +56,11 @@ clean:
|
|||
distclean: clean
|
||||
rm -f Makefile *~ .depend
|
||||
|
||||
docker:
|
||||
sudo docker build -t $(IMAGE) . # --no-cache
|
||||
echo "cd ../example; make docker to build example application"
|
||||
docker: Dockerfile
|
||||
sudo docker build -t $(IMG_BASE) . # --no-cache
|
||||
|
||||
push:
|
||||
sudo docker push $(IMAGE)
|
||||
sudo docker push $(IMG_BASE)
|
||||
|
||||
depend:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue