mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-08-04 16:30:09 +00:00
Merge pull request #520 from justincormack/no-community
Explicitly set the apk repositories we use
This commit is contained in:
commit
a3fbee70e7
@ -1,4 +1,4 @@
|
|||||||
FROM mobylinux/alpine-base:5ee3744f0fbcdd3e9c6216322e1d023e4cdf9ee4
|
FROM mobylinux/alpine-base:be37f68d6da073bab6b0d82ff3669ee0ae41aac8
|
||||||
|
|
||||||
ENV ARCH=x86_64
|
ENV ARCH=x86_64
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
FROM alpine:3.4
|
FROM alpine:3.4
|
||||||
|
|
||||||
|
COPY repositories /etc/apk/
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
apk update && apk upgrade && \
|
apk update && apk upgrade && \
|
||||||
apk add \
|
apk add \
|
||||||
|
@ -7,7 +7,7 @@ default: push
|
|||||||
|
|
||||||
hash:
|
hash:
|
||||||
docker pull $(BASE)
|
docker pull $(BASE)
|
||||||
tar cf - Dockerfile | docker build --no-cache -t $(IMAGE):build -
|
tar cf - Dockerfile repositories | docker build --no-cache -t $(IMAGE):build -
|
||||||
docker run --rm $(IMAGE):build sha1sum /lib/apk/db/installed | sed 's/ .*//' > hash
|
docker run --rm $(IMAGE):build sha1sum /lib/apk/db/installed | sed 's/ .*//' > hash
|
||||||
|
|
||||||
push: hash
|
push: hash
|
||||||
|
1
alpine/base/alpine-base/repositories
Normal file
1
alpine/base/alpine-base/repositories
Normal file
@ -0,0 +1 @@
|
|||||||
|
http://dl-cdn.alpinelinux.org/alpine/v3.4/main
|
Loading…
Reference in New Issue
Block a user