docker system push

This commit is contained in:
Olof Hagsand 2019-02-12 13:38:23 +01:00
parent 860c0c042d
commit 2ca1c1292c
3 changed files with 5 additions and 5 deletions

View file

@ -38,7 +38,7 @@ CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
# docker.hub image. PLEASE CHANGE THIS IF YOU PUSH YOUR OWN
# docker.hub image. CHANGE THIS IF YOU PUSH YOUR OWN
IMG = clixon/clixon # base image
SHELL = /bin/sh

View file

@ -32,7 +32,6 @@
#
# This application could use the base image, but it does not at this point.
#FROM olofhagsand/clixon
FROM debian
MAINTAINER Olof Hagsand <olof@hagsand.se>

View file

@ -38,7 +38,7 @@ CFLAGS = @CFLAGS@
LDFLAGS = @LDFLAGS@
LIBS = @LIBS@
# Example docker image. PLEASE CHANGE THIS IF YOU PUSH
# Example docker image. CHANGE THIS IF YOU PUSH
IMG = clixon/clixon-system
SHELL = /bin/sh
@ -61,13 +61,14 @@ distclean: clean
docker: clixon Dockerfile
sudo docker build -t $(IMG) . # --no-cache
push:
sudo docker push $(IMG)
# Start the clixon system container and run the test script
test: docker
./cleanup.sh ; PORT=8080 ./start.sh # kill (ignore error) and the start it
sudo docker exec -it clixon-system bash -c 'cd /clixon/clixon/test && ./all.sh'
push:
depend:
install-include: