| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
Signed-off-by: Jonathan Davies <jpds@protonmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Make sure generated password is random
Use /dev/urandom to get a 32 char password
* Make sure generated password is random
Use /dev/urandom to generate 32 char password
* Make sure generated password is random
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
| |
1. Use `apk -U --no-cache add` instead of `apk update` + `apk add` +
manually cache clean up.
2. Separate package installation and user, group setup, the combination
to reduce a docker image layer didn't bring benefits here, only makes
Dockerfiles more complex.
|
|
|