From 09bcc4d9dfc7196b4601787b69017f750132187c Mon Sep 17 00:00:00 2001 From: noogen Date: Wed, 28 Sep 2022 10:09:17 -0500 Subject: [PATCH] remove geoip2-update for stability. --- Dockerfile | 2 +- files/etc/cron.daily/geoip2-update | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) delete mode 100755 files/etc/cron.daily/geoip2-update diff --git a/Dockerfile b/Dockerfile index 20be8eb..8471a9c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,7 +44,7 @@ ADD ./files/root/ /root/ ADD ./files/sbin/ /sbin/ RUN bash /root/bin/dummycert.sh \ - && bash /etc/cron.daily/geoip2-update \ + && bash /etc/nginx/geoip2-download.sh \ && mkdir -p /app-start/etc \ && mv /etc/nginx /app-start/etc/nginx \ && rm -rf /etc/nginx \ diff --git a/files/etc/cron.daily/geoip2-update b/files/etc/cron.daily/geoip2-update deleted file mode 100755 index 98f8621..0000000 --- a/files/etc/cron.daily/geoip2-update +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash -# download geolite2 file -bash /etc/nginx/geoip2-download.sh - -# reload nginx -nginx -s reload \ No newline at end of file