Commit Graph

7 Commits

Author SHA1 Message Date
Olaf Meeuwissen e721ebc454 Clean up script permissions
They are all installed with executable permissions in the root file
system so there is no need to have them on the scripts in that are
kept in the repository.
2017-10-14 20:18:19 +09:00
Olaf Meeuwissen 01d9130021 Use here documents in a consistent manner 2017-08-19 15:09:08 +09:00
Olaf Meeuwissen d92fe56e7b Remove unneeded files from the image
Keeping out the `/dev/` tree is done when tarring things up so that
the `bootstrap.sh` script will have access to devices at run-time.
This approach also protects against removing devices that have been
mounted into the chroot, if any (e.g. devpts).
2017-08-19 14:27:34 +09:00
Olaf Meeuwissen 6dabc61089 Remove automatically installed packages whenever possible
This marks all packages installed by `debootstrap` as automatic and
sets up policy for pruning purposes before purging unneeded ones.
The devuan-keyring is explicitly kept.
2017-08-18 22:55:16 +09:00
Olaf Meeuwissen b636a469a2 Keep package index files small
This is mostly for those cases where Dockerfile RUN instructions do
not run `remove-apt-lists`, either by accident or on purpose.
2017-08-18 12:20:31 +09:00
Olaf Meeuwissen fa237f67eb Don't bother downloading translated package descriptions
This might speed up `apt-get update` depending on environment settings
and availability of translations.
2017-08-18 12:17:18 +09:00
Olaf Meeuwissen 0fa8b8505b Keep "flab" out of the image
This integrates a custom script into the APT configuration.  That same
script is also run during the bootstrap.  A second custom script takes
care of the integration and removes itself when done.

Complements 13f84159.
2017-08-17 11:36:04 +09:00