Update Dockerfile
This commit is contained in:
@@ -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
|
||||||
Reference in New Issue
Block a user