docker system push
This commit is contained in:
parent
860c0c042d
commit
2ca1c1292c
3 changed files with 5 additions and 5 deletions
|
|
@ -38,7 +38,7 @@ CFLAGS = @CFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
LIBS = @LIBS@
|
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
|
IMG = clixon/clixon # base image
|
||||||
|
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
|
|
|
||||||
|
|
@ -32,7 +32,6 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
# This application could use the base image, but it does not at this point.
|
# This application could use the base image, but it does not at this point.
|
||||||
#FROM olofhagsand/clixon
|
|
||||||
FROM debian
|
FROM debian
|
||||||
MAINTAINER Olof Hagsand <olof@hagsand.se>
|
MAINTAINER Olof Hagsand <olof@hagsand.se>
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ CFLAGS = @CFLAGS@
|
||||||
LDFLAGS = @LDFLAGS@
|
LDFLAGS = @LDFLAGS@
|
||||||
LIBS = @LIBS@
|
LIBS = @LIBS@
|
||||||
|
|
||||||
# Example docker image. PLEASE CHANGE THIS IF YOU PUSH
|
# Example docker image. CHANGE THIS IF YOU PUSH
|
||||||
IMG = clixon/clixon-system
|
IMG = clixon/clixon-system
|
||||||
|
|
||||||
SHELL = /bin/sh
|
SHELL = /bin/sh
|
||||||
|
|
@ -61,13 +61,14 @@ distclean: clean
|
||||||
docker: clixon Dockerfile
|
docker: clixon Dockerfile
|
||||||
sudo docker build -t $(IMG) . # --no-cache
|
sudo docker build -t $(IMG) . # --no-cache
|
||||||
|
|
||||||
|
push:
|
||||||
|
sudo docker push $(IMG)
|
||||||
|
|
||||||
# Start the clixon system container and run the test script
|
# Start the clixon system container and run the test script
|
||||||
test: docker
|
test: docker
|
||||||
./cleanup.sh ; PORT=8080 ./start.sh # kill (ignore error) and the start it
|
./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'
|
sudo docker exec -it clixon-system bash -c 'cd /clixon/clixon/test && ./all.sh'
|
||||||
|
|
||||||
push:
|
|
||||||
|
|
||||||
depend:
|
depend:
|
||||||
|
|
||||||
install-include:
|
install-include:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue