2022-02-16 21:05:57 +01:00
2020-02-02 15:55:44 -05:00
2020-02-02 15:55:44 -05:00
2020-02-02 15:55:44 -05:00
2020-10-02 16:25:28 -04:00
2020-11-03 09:04:40 -06:00
2019-05-30 20:35:20 +01:00

APT Install - Universal Docker mod

Using this mod you can install any package during starup by providing it through the environment variable APT_PACKAGES. This is then passed into the installation command as such: apt install -y --no-install-recommends ${APT_PACKAGES}.

In any docker container arguments, set an environment variable DOCKER_MODS=linuxserver/mods:universal-apt-install

If adding multiple mods, enter them in an array separated by |, such as DOCKER_MODS=linuxserver/mods:universal-apt-install|linuxserver/mods:universal-stdout-logs

For example, to install rsync, git and nginx add the following lines to your docker compose service:

- DOCKER_MODS=linuxserver/mods:universal-apt-install
- APT_PACKAGES=rsync git nginx
S
Description
Documentation and Examples of base container modifications
Readme GPL-3.0 5.1 MiB
Languages
Text 100%