annotate modules/firewall/.gitpod.Dockerfile @ 413:6421c6f77eb8

Add PHP SOAP dependency Probably required by WooCommerce to talk to PayPal
author IBBoard <dev@ibboard.co.uk>
date Sat, 08 Oct 2022 12:18:02 +0100
parents a0c1b33a243f
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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