automate install for Docker Desktop
This commit is contained in:
parent
d8e469b341
commit
1756b10202
20
README.md
20
README.md
@ -6,8 +6,22 @@ sdk install gradle
|
|||||||
sdk install java 8.0.202-zulu
|
sdk install java 8.0.202-zulu
|
||||||
```
|
```
|
||||||
|
|
||||||
### Download docker
|
### Install Docker Desktop for Mac
|
||||||
`curl -o docker.dmg -sL https://download.docker.com/mac/stable/Docker.dmg`
|
```
|
||||||
|
docker_app=$(find /Applications/ \
|
||||||
|
-name "Docker.app" -maxdepth 1 -mindepth 1 -type d)
|
||||||
|
if [ -z "$docker_app" ]; then
|
||||||
|
curl -o ~/Downloads/Docker.dmg -sL https://download.docker.com/mac/stable/Docker.dmg
|
||||||
|
hdiutil verify ~/Downloads/Docker.dmg
|
||||||
|
hdiutil attach ~/Downloads/Docker.dmg -nobrowse
|
||||||
|
cp -R /Volumes/Docker/Docker.app /Applications/
|
||||||
|
hdiutil detach /Volumes/Docker
|
||||||
|
rm ~/Downloads/Docker.dmg
|
||||||
|
sudo /Applications/Docker.app/Contents/MacOS/Docker --quit-after-install --unattended
|
||||||
|
else
|
||||||
|
echo "Docker for Mac is already installed."
|
||||||
|
fi
|
||||||
|
```
|
||||||
|
|
||||||
### Install dependencies with Brew
|
### Install dependencies with Brew
|
||||||
`brew bundle`
|
`brew bundle`
|
||||||
@ -24,7 +38,7 @@ Get it from `https://github.com/powerline/fonts/blob/master/Meslo%20Slashed/Mesl
|
|||||||
|
|
||||||
### OSX Defaults
|
### OSX Defaults
|
||||||
```
|
```
|
||||||
defaults write http://com.apple .screencapture location ~/Download
|
defaults write http://com.apple .screencapture location ~/Downloads
|
||||||
#defaults write com.apple.PowerChime ChimeOnNoHardware -bool true # still KO after closing lid
|
#defaults write com.apple.PowerChime ChimeOnNoHardware -bool true # still KO after closing lid
|
||||||
#killall PowerChime
|
#killall PowerChime
|
||||||
```
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user