File tree Expand file tree Collapse file tree 1 file changed +40
-0
lines changed
Expand file tree Collapse file tree 1 file changed +40
-0
lines changed Original file line number Diff line number Diff line change 1+ # ============================================================
2+ # Author: Chu-Siang Lai / chusiang (at) drx.tw
3+ # Blog: http://note.drx.tw
4+ # Filename: Makefile
5+ # Modified: 2016-11-30 12:51
6+ # Description: Do something with make.
7+ # ===========================================================
8+
9+ .PHONY : main pull run start stop clean retag_latest
10+
11+ main : run
12+
13+ # Only download the docker image.
14+ pull :
15+ docker pull chusiang/ansible-jupyter:alpine-3.4
16+ docker pull chusiang/ansible-managed-node:alpine-3.4
17+ docker pull chusiang/ansible-managed-node:centos-7
18+ docker pull chusiang/ansible-managed-node:debian-8
19+ docker pull chusiang/ansible-managed-node:ubuntu-14.04
20+
21+ # Run containers.
22+ run :
23+ docker-compose up
24+
25+ # Start containers.
26+ start :
27+ docker-compose start
28+
29+ # Stop containers.
30+ stop :
31+ docker-compose stop
32+
33+ # Remove containers.
34+ clean :
35+ docker-compose rm -f
36+
37+ # Retag and push the latest tag.
38+ retag_latest :
39+ sh bin/retag_latest.sh
40+
You can’t perform that action at this time.
0 commit comments