forked from TheHomecraft/tools
Add earthly/java/shell.sh
This commit is contained in:
4
earthly/java/shell.sh
Normal file
4
earthly/java/shell.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
apt update && apt install -y wget gpg apt-transport-https && wget -qO - https://packages.adoptium.net/artifactory/api/gpg/key/public \
|
||||
| gpg --dearmor \
|
||||
| tee /etc/apt/trusted.gpg.d/adoptium.gpg > /dev/null && echo "deb https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" \
|
||||
| tee /etc/apt/sources.list.d/adoptium.list && apt update
|
||||
Reference in New Issue
Block a user