File tree Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Expand file tree Collapse file tree 1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change
1
+ language : bash
2
+
3
+ # for secret experimental features ;)
4
+ dist : trusty
5
+
6
+ env :
7
+ - VERSION=3.4 VARIANT=
8
+ # - VERSION=3.4 VARIANT=slim
9
+ # - VERSION=3.4 VARIANT=wheezy
10
+ - VERSION=3.3 VARIANT=
11
+ # - VERSION=3.3 VARIANT=slim
12
+ # - VERSION=3.3 VARIANT=wheey
13
+ - VERSION=2.7 VARIANT=
14
+ # - VERSION=2.7 VARIANT=slim
15
+ # - VERSION=2.7 VARIANT=wheezy
16
+
17
+ install :
18
+ - git clone https://github.com/docker-library/official-images.git ~/official-images
19
+
20
+ before_script :
21
+ - env | sort
22
+ - cd "$VERSION"
23
+ - image="$(awk '$1 == "FROM" { print $2; exit }' onbuild/Dockerfile)${VARIANT:+-$VARIANT}"
24
+
25
+ script :
26
+ - docker build -t "$image" "${VARIANT:-.}"
27
+ - ~/official-images/test/run.sh "$image"
28
+ # the "onbuild" variant has to happen with the base variant because it's FROM it
29
+ - true && [ "$VARIANT" ] || docker build -t "${image}-onbuild" onbuild
30
+
31
+ # vim:set et ts=2 sw=2:
You can’t perform that action at this time.
0 commit comments