Merge branch 'ent-4473-cambiar-configuracion-docker-de-agente' into 'develop'

Changed Dockerfile

See merge request artica/pandorafms!2633
This commit is contained in:
Alejandro Fraguas 2019-08-30 14:11:27 +02:00
commit e8dc42fe5d
1 changed files with 2 additions and 1 deletions

View File

@ -14,6 +14,7 @@ RUN yum -y install \
# Install Pandora FMS agent
RUN cd /tmp/pandora_agent/unix \
&& chmod +x pandora_agent_installer \
&& ./pandora_agent_installer --install
# Set default variables
@ -40,7 +41,7 @@ if [ $TIMEZONE != "" ]; then\n \
fi\n \
/etc/init.d/pandora_agent_daemon start\n \
rm -f $0\n \
bash' \
tail -f /var/log/pandora/pandora_agent.log' \
>> /entrypoint.sh && \
chmod +x /entrypoint.sh