Last active
April 20, 2019 11:17
-
-
Save CreatiCoding/1320bab655cdd04ee53f3dd6aac2d245 to your computer and use it in GitHub Desktop.
ubuntu docker spring deploy environment
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
| # docker run -it -p 8080:8080 -v "/Users/creco/git/spring-boot-project/spring-boot-project:/root/spring-boot-project" ubuntu | |
| # apt-get update && apt-get install wget -y | |
| # wget -O - https://gist.githubusercontent.com/CreatiCoding/1320bab655cdd04ee53f3dd6aac2d245/raw/ | bash | |
| apt-get install software-properties-common -y | |
| add-apt-repository ppa:webupd8team/java -y | |
| add-apt-repository ppa:cwchien/gradle -y | |
| apt-get update | |
| apt-get install openjdk-8-jdk vim git -y | |
| apt-get install gradle -y | |
| git clone https://github.com/CreatiCoding/spring-boot-project | |
| cd spring-boot-project/spring-boot-project | |
| gradle bootRun |
Author
Author
apt-get install vim -y
Author
apt-get install git -y
Author
Author
cd spring-boot-project/spring-boot-project
Author
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
add-apt-repository ppa:cwchien/gradle
apt-get install gradle -y