mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-30 05:51:26 +00:00
Merge pull request #520 from justincormack/no-community
Explicitly set the apk repositories we use
This commit is contained in:
commit
a911d46cd6
@ -1,4 +1,4 @@
|
||||
FROM mobylinux/alpine-base:5ee3744f0fbcdd3e9c6216322e1d023e4cdf9ee4
|
||||
FROM mobylinux/alpine-base:be37f68d6da073bab6b0d82ff3669ee0ae41aac8
|
||||
|
||||
ENV ARCH=x86_64
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
FROM alpine:3.4
|
||||
|
||||
COPY repositories /etc/apk/
|
||||
|
||||
RUN \
|
||||
apk update && apk upgrade && \
|
||||
apk add \
|
||||
|
@ -7,7 +7,7 @@ default: push
|
||||
|
||||
hash:
|
||||
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
|
||||
|
||||
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