Merge pull request #1343 from justincormack/no-alpine-base

Remove unused alpine-base image
This commit is contained in:
Justin Cormack 2017-03-20 16:27:00 +00:00 committed by GitHub
commit 11a7f91753
4 changed files with 0 additions and 108 deletions

View File

@ -1,26 +0,0 @@
FROM alpine:3.5
COPY repositories /etc/apk/
RUN \
apk update && apk upgrade -a && \
apk add --no-cache \
busybox-initscripts \
chrony \
cifs-utils \
curl \
dhcpcd \
e2fsprogs \
e2fsprogs-extra \
fuse \
git \
hvtools \
iptables \
jq \
openrc \
openssh-client \
sfdisk \
strace \
sysklogd \
xz \
&& true

View File

@ -1,31 +0,0 @@
.PHONY: tag push
BASE=alpine:3.5
IMAGE=alpine-base
default: push
hash: Dockerfile repositories
DOCKER_CONTENT_TRUST=1 docker pull $(BASE)
tar cf - $^ | docker build --no-cache -t $(IMAGE):build -
docker run --rm $(IMAGE):build sha1sum /lib/apk/db/installed | sed 's/ .*//' > hash
push: hash
docker pull mobylinux/$(IMAGE):$(shell cat hash) || \
(docker tag $(IMAGE):build mobylinux/$(IMAGE):$(shell cat hash) && \
docker push mobylinux/$(IMAGE):$(shell cat hash))
docker run --rm $(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
rm -f hash
tag: hash
docker pull mobylinux/$(IMAGE):$(shell cat hash) || \
docker tag $(IMAGE):build mobylinux/$(IMAGE):$(shell cat hash)
docker rmi -f $(IMAGE):build
rm -f hash
clean:
rm -f hash
.DELETE_ON_ERROR:

View File

@ -1,50 +0,0 @@
alpine-baselayout 3.0.4-r0
alpine-keys 1.3-r0
apk-tools 2.6.8-r1
busybox 1.25.1-r0
busybox-initscripts 3.0-r8
ca-certificates 20161130-r0
chrony 2.4-r0
cifs-utils 6.6-r0
curl 7.52.1-r0
dhcpcd 6.11.5-r0
e2fsprogs 1.43.3-r0
e2fsprogs-extra 1.43.3-r0
e2fsprogs-libs 1.43.3-r0
expat 2.2.0-r0
fuse 2.9.7-r0
git 2.11.0-r0
hvtools 4.4.15-r0
iptables 1.6.0-r0
jq 1.5-r3
keyutils-libs 1.5.9-r1
krb5-conf 1.0-r1
krb5-libs 1.14.3-r1
libblkid 2.28.2-r1
libc-utils 0.7-r1
libcap 2.25-r1
libcom_err 1.43.3-r0
libcurl 7.52.1-r0
libfdisk 2.28.2-r1
libmnl 1.0.4-r0
libnftnl-libs 1.0.7-r0
libressl2.4-libcrypto 2.4.4-r0
libressl2.4-libssl 2.4.4-r0
libsmartcols 2.28.2-r1
libssh2 1.7.0-r2
libuuid 2.28.2-r1
libverto 0.2.5-r0
musl 1.1.15-r5
musl-utils 1.1.15-r5
oniguruma 6.1.3-r0
openrc 0.21.7-r3
openssh-client 7.4_p1-r0
pcre 8.39-r0
scanelf 1.1.6-r0
sfdisk 2.28.2-r1
strace 4.14-r0
sysklogd 1.5.1-r0
talloc 2.1.8-r0
xz 5.2.2-r1
xz-libs 5.2.2-r1
zlib 1.2.8-r2

View File

@ -1 +0,0 @@
http://dl-cdn.alpinelinux.org/alpine/v3.5/main