Update Dockerfile

This commit is contained in:
2019-05-07 22:09:48 +00:00
parent d08142929b
commit dc50de9a62

View File

@@ -8,6 +8,8 @@ RUN git clone https://github.com/optiz0r/mcollective-puppetenvsh-agent \
&& cp -r mcollective-puppetenvsh-agent/agent/* /opt/puppetlabs/mcollective/plugins/mcollective/agent/ \
&& cp -r mcollective-puppetenvsh-agent/util/* /opt/puppetlabs/mcollective/plugins/mcollective/util/ \
&& rm -rf mcollective-puppetenvsh-agent
RUN echo "security.serializer = json" >> /etc/puppetlabs/mcollective/plugin.d/choria.cfg
USER $MCO_CLIENT_USER
WORKDIR /home/$MCO_CLIENT_USER