Created
January 21, 2020 02:09
-
-
Save itbcodedev/99c806ff026e06be95b294cfd7f9d58a to your computer and use it in GitHub Desktop.
Post install
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 | |
| #install java | |
| sudo apt install openjdk-13-jdk | |
| sudo apt install openjdk-8-jdk | |
| sudo apt install openjdk-11-jdk | |
| sudo update-alternatives --config java | |
| #install docker | |
| curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - | |
| sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu disco stable test" | |
| sudo apt update | |
| sudo apt install docker-ce docker-ce-cli containerd.io | |
| sudo adduser $(whoami) docker |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment