We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7aa47ed + dd0e13e commit a3d0672Copy full SHA for a3d0672
.travis.yml
@@ -4,13 +4,21 @@ services: docker
4
env:
5
- VARIANT=debian
6
- VARIANT=alpine
7
+ - VARIANT=debian ARCH=i386
8
+ - VARIANT=alpine ARCH=i386
9
10
install:
11
- git clone https://github.com/docker-library/official-images.git ~/official-images
12
13
before_script:
14
- env | sort
15
- image="memcached:$VARIANT"
16
+ - |
17
+ if [ -n "$ARCH" ]; then
18
+ from="$(awk '$1 == toupper("FROM") { print $2 }' "$VARIANT/Dockerfile")"
19
+ docker pull "$ARCH/$from"
20
+ docker tag "$ARCH/$from" "$from"
21
+ fi
22
23
script:
24
- travis_retry docker build -t "$image" "$VARIANT"
0 commit comments