Do not create latest tags for base images

As we never use these, do not create them.

Also update images where applicable.

Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
Justin Cormack
2016-10-10 14:55:48 +01:00
parent bab99c7c4d
commit 588798404f
15 changed files with 29 additions and 47 deletions

View File

@@ -12,10 +12,8 @@ hash:
push: hash
docker pull mobylinux/$(IMAGE):$(shell cat hash) || \
(docker tag $(IMAGE):build mobylinux/$(IMAGE):latest && \
docker tag $(IMAGE):build mobylinux/$(IMAGE):$(shell cat hash) && \
docker push mobylinux/$(IMAGE):$(shell cat hash) && \
docker push mobylinux/$(IMAGE):latest)
(docker tag $(IMAGE):build mobylinux/$(IMAGE):$(shell cat hash) && \
docker push mobylinux/$(IMAGE):$(shell cat hash))
docker run $(IMAGE):build cat /lib/apk/db/installed | grep -E '^(P|V)' | \
awk '/^P/{printf substr($$1, 3),$$0;next} /^V/{print " " substr($$1, 3);next}' | sort > packages
docker rmi -f $(IMAGE):build
@@ -23,8 +21,7 @@ push: hash
tag: hash
docker pull mobylinux/$(IMAGE):$(shell cat hash) || \
(docker tag $(IMAGE):build mobylinux/$(IMAGE):latest && \
docker tag $(IMAGE):build mobylinux/$(IMAGE):$(shell cat hash))
docker tag $(IMAGE):build mobylinux/$(IMAGE):$(shell cat hash)
docker rmi -f $(IMAGE):build
rm -f hash

View File

@@ -1,9 +1,9 @@
alpine-baselayout 3.0.3-r0
alpine-conf 3.4.1-r2
alpine-conf 3.4.1-r5
alpine-keys 1.1-r0
apk-tools 2.6.7-r0
bind-libs 9.10.4_p2-r0
bind-tools 9.10.4_p2-r0
bind-libs 9.10.4_p3-r0
bind-tools 9.10.4_p3-r0
busybox 1.24.2-r11
busybox-initscripts 3.0-r3
ca-certificates 20160104-r4