-
Notifications
You must be signed in to change notification settings - Fork 4
/
Makefile
65 lines (49 loc) · 1.25 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
default: latest intel nvidia
# =====
# TOOLS
# =====
tools:
docker build --rm \
--build-arg from=diegoferigo/devenv:nvidia \
--tag diegoferigo/tools \
Tools/
# ===========
# DEVELOPMENT
# ===========
development-latest: development-master
docker tag diegoferigo/development:master diegoferigo/development:latest
development-master:
docker build --rm \
--build-arg from=diegoferigo/tools \
--tag diegoferigo/development:master \
Development/
# ======================
# REINFORCEMENT LEARNING
# ======================
rl-latest: rl-master
docker tag diegoferigo/rl:master diegoferigo/rl:latest
rl-master:
docker build --rm \
--build-arg from=diegoferigo/development:master \
--tag diegoferigo/rl:master \
RL/
rl-ubuntu:
docker build --rm \
--build-arg from=ubuntu:bionic \
--tag diegoferigo/rl:ubuntu \
RL/
# ======
# DEPLOY
# ======
push-tools: tools
docker push diegoferigo/tools
push-development-latest: development-latest
docker push diegoferigo/development:latest
push-development-master: development-master
docker push diegoferigo/development:master
push-rl-latest: rl-latest
docker push diegoferigo/rl:latest
push-rl-master: rl-master
docker push diegoferigo/rl:master
push-rl-ubuntu: rl-ubuntu
docker push diegoferigo/rl:ubuntu