Fix GL Plugins not loading anymore

This commit is contained in:
2019-11-24 15:51:10 +01:00
parent 9d1d3ca66a
commit 063fa65a84
2 changed files with 2 additions and 3 deletions

View File

@@ -1,7 +1,6 @@
FROM graylog/graylog:3.1 FROM graylog/graylog:3.1
# Probably a bad idea, but it works for now # Probably a bad idea, but it works for now
USER root USER root
ENV GRAYLOG_PLUGIN_DIR=/etc/graylog/server/
RUN mkdir -pv /etc/graylog/server/ RUN mkdir -pv /etc/graylog/server/
COPY ./getGeo.sh /etc/graylog/server/ COPY ./getGeo.sh /etc/graylog/server/
RUN chmod +x /etc/graylog/server/getGeo.sh && /etc/graylog/server/getGeo.sh RUN chmod +x /etc/graylog/server/getGeo.sh && /etc/graylog/server/getGeo.sh

View File

@@ -1,2 +1,2 @@
curl --output ${GRAYLOG_PLUGIN_DIR}/mm.tar.gz https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz curl --output /etc/graylog/server/mm.tar.gz https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz
tar zxvf ${GRAYLOG_PLUGIN_DIR}/mm.tar.gz -C ${GRAYLOG_PLUGIN_DIR} --strip-components=1 tar zxvf /etc/graylog/server/mm.tar.gz -C /etc/graylog/server/ --strip-components=1