Fixed bad permissions in filebeat.yml

This commit is contained in:
Rafael de Vega
2018-07-21 12:22:49 +02:00
parent e03b222f05
commit 5c39d1f0ea

View File

@@ -39,6 +39,7 @@ RUN chmod 755 /init.bash &&\
RUN curl -L -O https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-${FILEBEAT_VERSION}-amd64.deb &&\
dpkg -i filebeat-${FILEBEAT_VERSION}-amd64.deb && rm -f filebeat-${FILEBEAT_VERSION}-amd64.deb
COPY config/filebeat.yml /etc/filebeat/
RUN chmod go-w /etc/filebeat/filebeat.yml
# Adding entrypoint
ADD config/entrypoint.sh /entrypoint.sh