switch to debian

This commit is contained in:
Kameron Kenny 2024-06-18 10:22:44 -04:00
parent e04690db2c
commit 3ed25be851
No known key found for this signature in database
GPG Key ID: E5006629839D2276
2 changed files with 8 additions and 8 deletions

View File

@ -1,15 +1,15 @@
FROM lscr.io/linuxserver/syslog-ng:latest
FROM debian:latest
MAINTAINER Kameron Kenny <kkenny379@gmail.com>
LABEL version="20240617.1.7"
LABEL description="syslog-ng"
LABEL version="20240618.1.1"
LABEL description="Debian Based syslog-ng"
RUN apk update
RUN apk upgrade
RUN apt-get update
RUN apt-get -y upgrade
RUN apt-get -y install syslog-ng syslog-ng-core syslog-ng-mod-add-contextual-data syslog-ng-mod-amqp syslog-ng-mod-geoip2 syslog-ng-mod-getent syslog-ng-mod-http syslog-ng-mod-journal syslog-ng-mod-map-value-pairs syslog-ng-mod-slog syslog-ng-mod-smtp syslog-ng-mod-snmp syslog-ng-mod-snmptrapd-parser syslog-ng-mod-tag-parser syslog-ng-mod-xml-parser syslog-ng-scl
RUN mkdir -p /config
COPY config /config
RUN mkdir -p /config/GeoIP
COPY data/GeoIP/GeoLite2-City.mmdb /config/GeoIP/GeoLite2-City.mmdb
RUN apk add libmaxminddb

View File

@ -10,7 +10,7 @@ services:
syslog-ng:
build:
dockerfile: Dockerfile
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:240617.1.7
image: docker-registry1.in.thelinuxpro.net:5000/tlp/syslog-ng:240618.1.1
container_name: syslog-ng
environment:
- PUID=0