Move base image to Alpine

This commit is contained in:
Christoph König
2016-08-16 19:38:06 +02:00
parent c60c68b1af
commit 5b395b29f9
4 changed files with 13 additions and 14 deletions

11
run.sh
View File

@@ -1,14 +1,9 @@
#!/bin/bash
#!/bin/sh
# Import GPG public keys
gpg --import /keys/*
cron
# LS_COLORS is set to nothing and for some strange reason crontabs are not allowed to contain such env vars
unset LS_COLORS
# Create crontab file
env | cat - > /backup.cron
# Create and install crontab file
echo "$CRON_INTERVAL /backup.sh" >> /backup.cron
crontab /backup.cron