Mercurial > repos > other > Puppet
annotate modules/stdlib/.gitpod.Dockerfile @ 482:d83de9b3a62b default tip
Update hiera.yaml within Puppet config
Forgot that we manage it from here. Now has content to match
new packages
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Fri, 30 Aug 2024 16:10:36 +0100 |
parents | 4a2ee7e3b110 |
children |
rev | line source |
---|---|
424
4a2ee7e3b110
Update stdlib in case it fixed deprecation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
1 FROM gitpod/workspace-full |
4a2ee7e3b110
Update stdlib in case it fixed deprecation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
2 RUN sudo wget https://apt.puppet.com/puppet-tools-release-bionic.deb && \ |
4a2ee7e3b110
Update stdlib in case it fixed deprecation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
3 wget https://apt.puppetlabs.com/puppet6-release-bionic.deb && \ |
4a2ee7e3b110
Update stdlib in case it fixed deprecation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
4 sudo dpkg -i puppet6-release-bionic.deb && \ |
4a2ee7e3b110
Update stdlib in case it fixed deprecation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
5 sudo dpkg -i puppet-tools-release-bionic.deb && \ |
4a2ee7e3b110
Update stdlib in case it fixed deprecation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
6 sudo apt-get update && \ |
4a2ee7e3b110
Update stdlib in case it fixed deprecation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
7 sudo apt-get install -y pdk zsh puppet-agent && \ |
4a2ee7e3b110
Update stdlib in case it fixed deprecation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
8 sudo apt-get clean && \ |
4a2ee7e3b110
Update stdlib in case it fixed deprecation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
9 sudo rm -rf /var/lib/apt/lists/* |
4a2ee7e3b110
Update stdlib in case it fixed deprecation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
10 RUN sudo usermod -s $(which zsh) gitpod && \ |
4a2ee7e3b110
Update stdlib in case it fixed deprecation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
11 sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" && \ |
4a2ee7e3b110
Update stdlib in case it fixed deprecation
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 && \ |
4a2ee7e3b110
Update stdlib in case it fixed deprecation
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 && \ |
4a2ee7e3b110
Update stdlib in case it fixed deprecation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
14 sudo /opt/puppetlabs/puppet/bin/gem install puppet-debugger hub -N && \ |
4a2ee7e3b110
Update stdlib in case it fixed deprecation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
15 mkdir -p /home/gitpod/.config/puppet && \ |
4a2ee7e3b110
Update stdlib in case it fixed deprecation
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 |
4a2ee7e3b110
Update stdlib in case it fixed deprecation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
17 RUN rm -f puppet6-release-bionic.deb puppet-tools-release-bionic.deb |
4a2ee7e3b110
Update stdlib in case it fixed deprecation
IBBoard <dev@ibboard.co.uk>
parents:
diff
changeset
|
18 ENTRYPOINT /usr/bin/zsh |