FROM vshn/puppet-mcoclient:6.23 USER root # Cache busting ADD https://api.github.com/repos/voxpupuli/puppet-r10k/git/refs/heads/master version.json # Install r10k plugin RUN git clone https://github.com/voxpupuli/puppet-r10k.git \ && cp -r puppet-r10k/files/mcollective/agent/* /opt/puppetlabs/mcollective/plugins/mcollective/agent/ \ && rm -rf puppet-r10k RUN echo "security.serializer = json" >> /etc/choria/plugin.d/choria.cfg USER $MCO_CLIENT_USER WORKDIR /home/$MCO_CLIENT_USER