summaryrefslogtreecommitdiffstats
path: root/Dockerfile.rpi
diff options
context:
space:
mode:
authorDaniel Wendler (@cassandra) <dwe@boreus.de>2017-05-08 13:09:20 +0200
committerKim "BKC" Carlbäcker <kim.carlbacker@gmail.com>2017-05-09 15:34:33 +0200
commit377acb975785140aba35ec19fdae467e0e8cc129 (patch)
tree56ceac9cde75c19e0be56c986c9e9af6a72db83c /Dockerfile.rpi
parentab79069dc79c4a816eb8d53cbd90fc38833ec117 (diff)
downloadgitea-377acb975785140aba35ec19fdae467e0e8cc129.tar.gz
gitea-377acb975785140aba35ec19fdae467e0e8cc129.zip
Realy don't cache apk index
Actualy the "-U --no-cache" effectivly is treated as --no-cache was never specified: / # apk -U --no-cache add sed fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.5/community/x86_64/APKINDEX.tar.gz (1/1) Installing sed (4.2.2-r0) Executing busybox-1.25.1-r0.trigger OK: 4 MiB in 12 packages / # ls -la /var/cache/apk/ total 1004 drwxr-xr-x 1 root root 70 May 8 11:08 . drwxr-xr-x 1 root root 29 Mar 3 11:20 .. -rw-r--r-- 1 root root 732807 May 5 07:11 APKINDEX.c51f8f92.tar.gz -rw-r--r-- 1 root root 293014 May 1 12:37 APKINDEX.d09172fd.tar.gz So removing the "-U" fix this behavior.
Diffstat (limited to 'Dockerfile.rpi')
-rw-r--r--Dockerfile.rpi2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile.rpi b/Dockerfile.rpi
index 23b9f130b4..10bd4437db 100644
--- a/Dockerfile.rpi
+++ b/Dockerfile.rpi
@@ -3,7 +3,7 @@ MAINTAINER Thomas Boerger <thomas@webhippie.de>
EXPOSE 22 3000
-RUN apk -U --no-cache add \
+RUN apk --no-cache add \
su-exec \
ca-certificates \
sqlite \