diff options
| author | Oleg Titov <oleg.titov@gmail.com> | 2019-04-28 11:36:10 -0500 |
|---|---|---|
| committer | Oleg Titov <oleg.titov@gmail.com> | 2019-04-28 11:36:10 -0500 |
| commit | cc6f7e648f8b4ba9c0f46b1ee40933c0cc008905 (patch) | |
| tree | 47794a753837c2516d2a448ee22123b1f24a6029 | |
| parent | 7e03b2e30c810cce3faa48596c89280a8ef408f3 (diff) | |
| download | docker-abuild-cc6f7e648f8b4ba9c0f46b1ee40933c0cc008905.tar.bz2 docker-abuild-cc6f7e648f8b4ba9c0f46b1ee40933c0cc008905.tar.xz | |
Add support for setup-apkrepos
Make possible to configure prefered repo.
By default it will be the first repo in the list (-1).
| -rw-r--r-- | Dockerfile.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile.in b/Dockerfile.in index 6b6c400..4fe6bbb 100644 --- a/Dockerfile.in +++ b/Dockerfile.in @@ -4,7 +4,8 @@ MAINTAINER Richard Mortier <mort@cantab.net> RUN apk add --update-cache \ alpine-conf \ alpine-sdk \ - && setup-apkcache /var/cache/apk + && setup-apkcache /var/cache/apk \\ + && setup-apkrepos -1 RUN adduser -D builder \ && addgroup builder abuild \ |
