Mercurial > repos > other > Puppet
annotate modules/firewall/.gitpod.Dockerfile @ 478:adf6fe9bbc17
Update Puppet modules to latest versions
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Thu, 29 Aug 2024 18:47:29 +0100 |
parents | a0c1b33a243f |
children |
rev | line source |
---|---|
403
a0c1b33a243f
Add missed new Firewall module files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 FROM gitpod/workspace-full |
a0c1b33a243f
Add missed new Firewall module files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 RUN sudo wget https://apt.puppet.com/puppet-tools-release-bionic.deb && \ |
a0c1b33a243f
Add missed new Firewall module files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 wget https://apt.puppetlabs.com/puppet6-release-bionic.deb && \ |
a0c1b33a243f
Add missed new Firewall module files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 sudo dpkg -i puppet6-release-bionic.deb && \ |
a0c1b33a243f
Add missed new Firewall module files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 sudo dpkg -i puppet-tools-release-bionic.deb && \ |
a0c1b33a243f
Add missed new Firewall module files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 sudo apt-get update && \ |
a0c1b33a243f
Add missed new Firewall module files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 sudo apt-get install -y pdk zsh puppet-agent && \ |
a0c1b33a243f
Add missed new Firewall module files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 sudo apt-get clean && \ |
a0c1b33a243f
Add missed new Firewall module files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 sudo rm -rf /var/lib/apt/lists/* |
a0c1b33a243f
Add missed new Firewall module files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 RUN sudo usermod -s $(which zsh) gitpod && \ |
a0c1b33a243f
Add missed new Firewall module files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" && \ |
a0c1b33a243f
Add missed new Firewall module files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
12 echo "plugins=(git gitignore github gem pip bundler python ruby docker docker-compose)" >> /home/gitpod/.zshrc && \ |
a0c1b33a243f
Add missed new Firewall module files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
13 echo 'PATH="$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/opt/puppetlabs/bin:/opt/puppetlabs/puppet/bin"' >> /home/gitpod/.zshrc && \ |
a0c1b33a243f
Add missed new Firewall module files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 sudo /opt/puppetlabs/puppet/bin/gem install puppet-debugger hub -N && \ |
a0c1b33a243f
Add missed new Firewall module files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 mkdir -p /home/gitpod/.config/puppet && \ |
a0c1b33a243f
Add missed new Firewall module files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
16 /opt/puppetlabs/puppet/bin/ruby -r yaml -e "puts ({'disabled' => true}).to_yaml" > /home/gitpod/.config/puppet/analytics.yml |
a0c1b33a243f
Add missed new Firewall module files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 RUN rm -f puppet6-release-bionic.deb puppet-tools-release-bionic.deb |
a0c1b33a243f
Add missed new Firewall module files
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 ENTRYPOINT /usr/bin/zsh |