From b027778dcaedf7ba40951cad2022b6fb7e18e7b0 Mon Sep 17 00:00:00 2001 From: Kameron Kenny <1267885+kkenny@users.noreply.github.com> Date: Tue, 18 Jun 2024 13:34:25 -0400 Subject: [PATCH] tz --- Dockerfile | 4 ++-- docker-compose.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5d4f1ad..7a6cab0 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM debian:latest MAINTAINER Kameron Kenny -LABEL version="20240618.1.9" +LABEL version="20240618.1.10" LABEL description="Debian Based syslog-ng" RUN apt-get update @@ -15,6 +15,6 @@ COPY config/syslog-ng.conf /config/syslog-ng.conf RUN mkdir -p /config/GeoIP COPY data/GeoIP/GeoLite2-City.mmdb /config/GeoIP/GeoLite2-City.mmdb -COPY data/timezone /etc/timezone +RUN unlink /etc/localtime && ln -s /usr/share/zoneinfo/America/Indiana/Indianapolis /etc/localtime ENTRYPOINT echo "It's alive!" && syslog-ng -F -f /config/syslog-ng.conf --no-caps diff --git a/docker-compose.yml b/docker-compose.yml index 6cbeb24..78b974c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -10,7 +10,7 @@ services: syslog-ng: build: dockerfile: Dockerfile - image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:240618.1.9 + image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:240618.1.10 container_name: syslog-ng #environment: #- TZ:America/Indianapolis