This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt update | |
sudo apt install -y docker.io | |
sudo usermod -aG docker $USER | |
sudo reboot | |
sudo apt-get install -y apt-transport-https ca-certificates curl gpg | |
curl -fsSL https://pkgs.k8s.io/core:/stable:/v1.29/deb/Release.key | sudo gpg --dearmor -o /etc/apt/keyrings/kubernetes-apt-keyring.gpg | |
echo 'deb [signed-by=/etc/apt/keyrings/kubernetes-apt-keyring.gpg] https://pkgs.k8s.io/core:/stable:/v1.29/deb/ /' | sudo tee /etc/apt/sources.list.d/kubernetes.list | |
sudo apt update |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
sudo apt update && apt upgrade -y | |
sudo apt install openjdk-17-headless -y | |
sudo apt install openjdk-11-headless -y | |
sudo apt install openjdk-8-headless -y | |
sudo apt install maven -y | |
sudo apt install gradle -y | |
sudo apt install git -y | |
sudo apt install docker docker-compose -y |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM jboss/wildfly:21.0.1.Final | |
ENV JBOSS_HOME /opt/jboss/wildfly | |
ENV POSTGRES_VERSION 42.2.9 | |
ENV DB_USER pdv | |
ENV DB_PASS pdv | |
ENV DB_HOST localhost | |
ENV DB_NAME pdv | |
ENV DB_PORT 5432 | |
ENV USER admim |