You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.
RUN useradd --create-home --home-dir /vagrant --user-group vagrant
RUN echo vagrant:vagrant | chpasswd
RUN echo "vagrant ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
RUN apt -y update && apt -y install puppet
COPY modules /puppet/modules
COPY manifests /puppet/manifests
FROM ubuntu:22.04 as puppet
COPY --from=src . .
RUN puppet apply /puppet/manifests/site.pp --modulepath /puppet/modules
# I am trusting that the following command depends on puppet;
# If running puppet will not change this, then this should happen well in advance of puppet apply, for build caching
RUN echo "PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/vagrant/.bin:/home/vagrant/.cargo/bin:/home/vagrant/.fzf/bin" >> /etc/environment