Move base image to Alpine
This commit is contained in:
11
run.sh
11
run.sh
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user