1
0
mirror of /repos/baseimage-docker.git synced 2025-12-30 08:01:31 +01:00

Remove some unnecessary cron jobs

Closes GH-205.
This commit is contained in:
Hongli Lai (Phusion) 2015-07-15 14:52:39 +02:00
parent ee56097511
commit 404832ba47
No known key found for this signature in database
GPG Key ID: 2AF96EB85EF4DA0D
2 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,7 @@
* `my_init` no longer reads from and writes to `/etc/container_environment` if that directory does not exist. Previously it would abort with an error. This change makes it easier to reuse `my_init` in other (non-Baseimage-docker-based) projects without having to modify it. * `my_init` no longer reads from and writes to `/etc/container_environment` if that directory does not exist. Previously it would abort with an error. This change makes it easier to reuse `my_init` in other (non-Baseimage-docker-based) projects without having to modify it.
* Baseimage-docker no longer sets the HOME environment variable by default. We used to set HOME by default to work around a Docker issue where HOME defaults to /, but this issue is now gone. Furthermore, the fact that we set HOME interfered with the USER stanza: USER would no longer set HOME. So we got rid of our HOME variable. Closes GH-231. * Baseimage-docker no longer sets the HOME environment variable by default. We used to set HOME by default to work around a Docker issue where HOME defaults to /, but this issue is now gone. Furthermore, the fact that we set HOME interfered with the USER stanza: USER would no longer set HOME. So we got rid of our HOME variable. Closes GH-231.
* Some unnecessary Ubuntu cron jobs have been removed. Closes GH-205.
## 0.9.16 (release date: 2015-01-20) ## 0.9.16 (release date: 2015-01-20)

View File

@ -67,3 +67,8 @@ cp /bd_build/runit/cron /etc/service/cron/run
## Remove useless cron entries. ## Remove useless cron entries.
# Checks for lost+found and scans for mtab. # Checks for lost+found and scans for mtab.
rm -f /etc/cron.daily/standard rm -f /etc/cron.daily/standard
rm -f /etc/cron.daily/upstart
rm -f /etc/cron.daily/dpkg
rm -f /etc/cron.daily/password
rm -f /etc/cron.weekly/fstrim