Remove prefix and suffix spaces and tabs.

Signed-off-by: Qiang Huang <h.huangqiang@huawei.com>
This commit is contained in:
Qiang Huang 2015-12-10 15:18:16 +08:00
Родитель 10bbe0ee7c
Коммит bd00905614
1 изменённых файлов: 20 добавлений и 20 удалений

Просмотреть файл

@ -3,33 +3,33 @@ set -e
# image lists for different archs that should match what's in the Dockerfile (minus the explicit images IDs)
case "$DOCKER_ENGINE_OSARCH" in
linux/arm)
linux/arm)
images=(
hypriot/armhf-busybox@ea0800bb83571c585c5652b53668e76b29c7c0eef719892f9d0a48607984f9e1
hypriot/armhf-busybox@ea0800bb83571c585c5652b53668e76b29c7c0eef719892f9d0a48607984f9e1
hypriot/armhf-hello-world@508c59a4f8b23c77bbcf43296c3f580873dc7eecb1f0d680cea3067e221fd4c2
hypriot/armhf-unshare@3f1db65f8bbabc743fd739cf7145a56c35b2a0979ae3174e9d79b7fa4b00fca1
)
hypriot/armhf-unshare@3f1db65f8bbabc743fd739cf7145a56c35b2a0979ae3174e9d79b7fa4b00fca1
)
;;
linux/ppc64le)
images=(
ppc64le/busybox:latest
ppc64le/hello-world:frozen
ppc64le/unshare:latest
)
ppc64le/busybox:latest
ppc64le/hello-world:frozen
ppc64le/unshare:latest
)
;;
linux/s390x)
images=(
s390x/busybox:latest
s390x/hello-world:frozen
s390x/unshare:latest
s390x/unshare:latest
)
;;
*)
images=(
busybox:latest
hello-world:latest
jess/unshare:latest
)
busybox:latest
hello-world:latest
jess/unshare:latest
)
;;
esac
@ -67,19 +67,19 @@ fi
case "$DOCKER_ENGINE_OSARCH" in
linux/arm)
docker tag hypriot/armhf-busybox:latest busybox:latest
docker tag hypriot/armhf-hello-world:latest hello-world:frozen
docker tag hypriot/armhf-unshare:latest jess/unshare:latest
docker tag hypriot/armhf-hello-world:latest hello-world:frozen
docker tag hypriot/armhf-unshare:latest jess/unshare:latest
docker rmi hypriot/armhf-busybox:latest
docker rmi hypriot/armhf-hello-world:latest
docker rmi hypriot/armhf-unshare:latest
docker rmi hypriot/armhf-hello-world:latest
docker rmi hypriot/armhf-unshare:latest
;;
linux/ppc64le)
docker tag ppc64le/busybox:latest busybox:latest
docker tag ppc64le/hello-world:frozen hello-world:frozen
docker tag ppc64le/hello-world:frozen hello-world:frozen
docker tag ppc64le/unshare:latest jess/unshare:latest
docker rmi ppc64le/busybox:latest
docker rmi ppc64le/hello-world:frozen
docker rmi ppc64le/unshare:latest
docker rmi ppc64le/hello-world:frozen
docker rmi ppc64le/unshare:latest
;;
linux/s390x)
docker tag s390x/busybox:latest busybox:latest