mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-08-04 00:10:15 +00:00
switch to mobylinux hub org
Signed-off-by: Justin Cormack <justin@specialbusservice.com>
This commit is contained in:
parent
d52c2b8a44
commit
e03695bfa4
@ -1,4 +1,4 @@
|
|||||||
FROM justincormack/moby-alpine-base:c31ad889c44f78974e8e04a5d489be3a07e77536
|
FROM mobylinux/alpine-base:c31ad889c44f78974e8e04a5d489be3a07e77536
|
||||||
|
|
||||||
ENV ARCH=x86_64
|
ENV ARCH=x86_64
|
||||||
|
|
||||||
|
@ -4,22 +4,22 @@ default: push
|
|||||||
|
|
||||||
hash:
|
hash:
|
||||||
docker pull alpine:3.4
|
docker pull alpine:3.4
|
||||||
tar cf - Dockerfile | docker build --no-cache -t justincormack/moby-alpine-base:build -
|
tar cf - Dockerfile | docker build --no-cache -t mobylinux/alpine-base:build -
|
||||||
rm -f hash
|
rm -f hash
|
||||||
docker run justincormack/moby-alpine-base:build sha1sum /lib/apk/db/installed | sed 's/ .*//' > hash
|
docker run mobylinux/alpine-base:build sha1sum /lib/apk/db/installed | sed 's/ .*//' > hash
|
||||||
|
|
||||||
push: hash
|
push: hash
|
||||||
docker pull justincormack/moby-alpine-base:$(shell cat hash) || \
|
docker pull mobylinux/alpine-base:$(shell cat hash) || \
|
||||||
(docker tag justincormack/moby-alpine-base:build justincormack/moby-alpine-base:latest && \
|
(docker tag mobylinux/alpine-base:build mobylinux/alpine-base:latest && \
|
||||||
docker tag justincormack/moby-alpine-base:build justincormack/moby-alpine-base:$(shell cat hash) && \
|
docker tag mobylinux/alpine-base:build mobylinux/alpine-base:$(shell cat hash) && \
|
||||||
docker push justincormack/moby-alpine-base:$(shell cat hash) && \
|
docker push mobylinux/alpine-base:$(shell cat hash) && \
|
||||||
docker push justincormack/moby-alpine-base:latest)
|
docker push mobylinux/alpine-base:latest)
|
||||||
rm -f hash
|
rm -f hash
|
||||||
|
|
||||||
tag: hash
|
tag: hash
|
||||||
docker pull justincormack/moby-alpine-base:$(shell cat hash) || \
|
docker pull mobylinux/alpine-base:$(shell cat hash) || \
|
||||||
(docker tag justincormack/moby-alpine-base:build justincormack/moby-alpine-base:latest && \
|
(docker tag mobylinux/alpine-base:build mobylinux/alpine-base:latest && \
|
||||||
docker tag justincormack/moby-alpine-base:build justincormack/moby-alpine-base:$(shell cat hash))
|
docker tag mobylinux/alpine-base:build mobylinux/alpine-base:$(shell cat hash))
|
||||||
rm -f hash
|
rm -f hash
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
|
Loading…
Reference in New Issue
Block a user