mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-08-06 09:13:52 +00:00
Merge pull request #442 from justincormack/buildfix
Cleanup, move to mobylinux org
This commit is contained in:
commit
d388b40d07
@ -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:
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM alpine:3.4
|
FROM alpine:3.4
|
||||||
|
|
||||||
RUN apk update && apk upgrade && apk add alpine-sdk util-linux-dev linux-headers
|
RUN apk update && apk upgrade && apk add build-base util-linux-dev linux-headers
|
||||||
|
|
||||||
RUN mkdir -p /9pmount-vsock
|
RUN mkdir -p /9pmount-vsock
|
||||||
WORKDIR /9pmount-vsock
|
WORKDIR /9pmount-vsock
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
FROM alpine:3.4
|
FROM alpine:3.4
|
||||||
|
|
||||||
RUN apk update && apk upgrade && apk add alpine-sdk util-linux-dev linux-headers
|
RUN apk update && apk upgrade && apk add build-base util-linux-dev linux-headers
|
||||||
|
|
||||||
RUN mkdir -p /tap-vsockd
|
RUN mkdir -p /tap-vsockd
|
||||||
WORKDIR /tap-vsockd
|
WORKDIR /tap-vsockd
|
||||||
|
Loading…
Reference in New Issue
Block a user