Update Dockerfile

This commit is contained in:
2019-05-07 21:39:57 +00:00
parent 4e59b7b18b
commit d08142929b

View File

@@ -1,8 +1,13 @@
FROM vshn/puppet-mcoclient FROM vshn/puppet-mcoclient
USER root
# Install puppetenvsh plugin # Install puppetenvsh plugin
RUN git clone https://github.com/optiz0r/mcollective-puppetenvsh-agent \ RUN git clone https://github.com/optiz0r/mcollective-puppetenvsh-agent \
&& cp -r mcollective-puppetenvsh-agent/application/* /opt/puppetlabs/mcollective/plugins/mcollective/application/ \ && cp -r mcollective-puppetenvsh-agent/application/* /opt/puppetlabs/mcollective/plugins/mcollective/application/ \
&& cp -r mcollective-puppetenvsh-agent/agent/* /opt/puppetlabs/mcollective/plugins/mcollective/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/ \ && cp -r mcollective-puppetenvsh-agent/util/* /opt/puppetlabs/mcollective/plugins/mcollective/util/ \
&& rm -rf mcollective-puppetenvsh-agent && rm -rf mcollective-puppetenvsh-agent
USER $MCO_CLIENT_USER
WORKDIR /home/$MCO_CLIENT_USER