mirror of
https://github.com/linuxserver/docker-baseimage-alpine.git
synced 2026-02-20 00:47:04 +08:00
Only install required deps
This commit is contained in:
parent
1b550ca3f9
commit
590130ad99
@ -5,7 +5,7 @@ if [ -f "/mod-repo-packages-to-install.list" ]; then
|
||||
if [ -f /usr/bin/apt ]; then
|
||||
export DEBIAN_FRONTEND="noninteractive"
|
||||
apt-get update
|
||||
apt-get install -y \
|
||||
apt-get install -y --no-install-recommends \
|
||||
$(cat /mod-repo-packages-to-install.list)
|
||||
elif [ -f /usr/bin/apk ]; then
|
||||
apk add --no-cache \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user