File tree Expand file tree Collapse file tree 3 files changed +33
-15
lines changed Expand file tree Collapse file tree 3 files changed +33
-15
lines changed Original file line number Diff line number Diff line change
1
+ # EditorConfig is awesome: https://EditorConfig.org
2
+
3
+ # top-most EditorConfig file
4
+ root = true
5
+
6
+ [* ]
7
+ indent_style = space
8
+ indent_size = 4
9
+ end_of_line = lf
10
+ charset = utf-8
11
+ trim_trailing_whitespace = true
12
+ insert_final_newline = true
13
+
14
+ [* .md ]
15
+ trim_trailing_whitespace = false
16
+
17
+ [* .yml ]
18
+ indent_size = 2
19
+
20
+
21
+ [Makefile ]
22
+ indent_style = tab
23
+ indent_size = 4
Original file line number Diff line number Diff line change 1
- name : Docker Image CI
1
+ name : Docker Image CI (Old PHP Versions)
2
2
3
3
on :
4
4
push :
Original file line number Diff line number Diff line change
1
+ .PHONY : build all all-nc
2
+
3
+ VERSIONS = 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2 8.3 8.4
1
4
2
5
build : all
3
6
4
7
all :
5
- docker build -f ./Dockerfile-5.6 .
6
- docker build -f ./Dockerfile-7.0 .
7
- docker build -f ./Dockerfile-7.1 .
8
- docker build -f ./Dockerfile-7.2 .
9
- docker build -f ./Dockerfile-7.3 .
10
- docker build -f ./Dockerfile-7.4 .
11
- docker build -f ./Dockerfile-8.0 .
8
+ @for v in $(VERSIONS ) ; do \
9
+ docker build -f ./Dockerfile-$$ v -t php-fpm:dev-$$ v . ; \
10
+ done
12
11
13
12
all-nc :
14
- docker build -f ./Dockerfile-5.6 --no-cache --pull .
15
- docker build -f ./Dockerfile-7.0 --no-cache --pull .
16
- docker build -f ./Dockerfile-7.1 --no-cache --pull .
17
- docker build -f ./Dockerfile-7.2 --no-cache --pull .
18
- docker build -f ./Dockerfile-7.3 --no-cache --pull .
19
- docker build -f ./Dockerfile-7.4 --no-cache --pull .
20
- docker build -f ./Dockerfile-8.0 --no-cache --pull .
13
+ @for v in $(VERSIONS ) ; do \
14
+ docker build -f ./Dockerfile-$$ v -t php-fpm:dev-$$ v --no-cache --pull . ; \
15
+ done
You can’t perform that action at this time.
0 commit comments