From b1c7976614668f9f252999bbf3b6623e3cd18830 Mon Sep 17 00:00:00 2001 From: Roman Steiner Date: Sun, 18 Jul 2021 17:19:12 +0200 Subject: [PATCH] umstellung auf GMT+2, bugfix --- image/Dockerfile | 5 ++++- image/collect.sh | 6 +++--- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/image/Dockerfile b/image/Dockerfile index 3019e3f..8f9c919 100644 --- a/image/Dockerfile +++ b/image/Dockerfile @@ -1,6 +1,9 @@ FROM debian:bullseye-slim -RUN apt-get update; apt-get install -y --no-install-recommends ssh ca-certificates wget cron git +RUN apt-get update; apt-get install -y --no-install-recommends rsyslog vim ssh ca-certificates wget cron git + +# set local timezone for Vienna +RUN ln -sf /usr/share/zoneinfo/Europe/Vienna /etc/localtime # configure GIT RUN git config --global user.email "" ;\ diff --git a/image/collect.sh b/image/collect.sh index 687b78b..14a2ea0 100644 --- a/image/collect.sh +++ b/image/collect.sh @@ -1,14 +1,14 @@ #!/bin/bash echo ----- automatic update $(date +%F-%H-%M) -------- cd /root/git/ -git pull +git pull # download Covid-Cases for Austria based on age groupes wget --output-document=./CovidFaelle_Altersgruppe-$(date +%F-%H-%M).csv https://covid19-dashboard.ages.at/data/CovidFaelle_Altersgruppe.csv 2>&1 -git add data +git add * git commit -m 'automatic update' git push origin echo ------------------------------------------------ -echo +echo