This involves a deep upgrade. Changing base distribution from debian
towards alpine, and changing the way the schedule-command relation is
handled. Consequences:
- size of image went from 195MB to 45MB
- build process simplified (only one small ``Dockerfile``)
- dependencies are not in the charm anymore but fetched on build
from our download server
- local cron business intelligence was moved in the cron charm
- extreme simplification for implementing run-once charms relation with
cron.
- some simplification for charms that adds some intelligence on their
side.
We don't have ``shlib`` in docker image, and we don't need it
for this script. So the dependency was removed.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
This is to be consistent with ``mirror-dir`` executable installation, and
to avoid one step when updating VPS: you need only up-to-date ``0k-charms``
and no need to re-install host backup through this script to get update
of ``mysql-backup`` script.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
This comes from the mysql script. And it'll be required as we need this
script for hosts installs.
Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>