mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-23 11:00:25 +00:00
Explicitly set the apk repositories we use
Previously we used the defaults (main and community) but we currently only need main, but are likely to need some packages from edge soon. Signed-off-by: Justin Cormack <justin.cormack@docker.com>
This commit is contained in:
parent
530125e0f9
commit
4b9b8295c5
@ -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