-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.sh
executable file
·60 lines (46 loc) · 1.48 KB
/
build.sh
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
#! /bin/bash
set -e
#
# Base images (builders)
#
#docker build \
# -f images/stack-dependencies/Dockerfile-7.8.4 \
# -t images.reesd.com/reesd/stack-dependencies:7.8.4 \
# images/stack-dependencies
#docker build \
# -f images/stack-dependencies/Dockerfile-7.10.3 \
# -t images.reesd.com/reesd/stack-dependencies:lts-7.10.3 \
# images/stack-dependencies
docker build \
-f images/stack-dependencies/Dockerfile-8.0.2 \
-t images.reesd.com/reesd/stack-dependencies:8.0.2 \
images/stack-dependencies
#
# Target images
#
#docker build \
# -f images/stack/Dockerfile-7.8.4 \
# -t images.reesd.com/reesd/stack:7.8.4 \
# images/stack
#docker build \
# -f images/stack/Dockerfile-lts-7.8.4 \
# -t images.reesd.com/reesd/stack:lts-7.8.4 \
# images/stack
# The good one.
# ------------
#docker build \
# -f images/stack/Dockerfile-lts-7.8.4-reesd \
# -t images.reesd.com/reesd/stack:lts-7.8.4-reesd \
# images/stack
#docker build \
# -f images/stack/Dockerfile-lts-7.10.3-reesd \
# -t images.reesd.com/reesd/stack:lts-7.10.3-reesd \
# images/stack
docker build \
-f images/stack/Dockerfile-lts-8.0.2-reesd \
-t images.reesd.com/reesd/stack:lts-8.0.2-reesd \
images/stack
# Uncomment when rebuilding.
# docker tag -f images.reesd.com/reesd/stack:lts-7.8.4-reesd images.reesd.com/reesd/stack:7.8.4
# docker tag -f images.reesd.com/reesd/stack:lts-7.10.3-reesd images.reesd.com/reesd/stack:7.10.3
# docker tag images.reesd.com/reesd/stack:lts-8.0.2-reesd images.reesd.com/reesd/stack:8.0.2