This repository was archived by the owner on Feb 27, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 357
Expand file tree
/
Copy pathbundle.sh
More file actions
executable file
·57 lines (43 loc) · 1.43 KB
/
bundle.sh
File metadata and controls
executable file
·57 lines (43 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
#!/bin/sh
set -e
# Script to grab binaries that are going to be bundled with windows installer.
# Note to maintainers: Update versions used below with newer releases
boot2dockerIso=1.8.0
boot2dockerCli=1.8.0
docker=1.8.0
vbox=5.0.0
vboxRev=101573
msysGit=1.9.5-preview20150319
boot2dockerIsoSrc=boot2docker
boot2dockerCliSrc=boot2docker
dockerBucket=get.docker.com
set -x
rm -r bundle
mkdir bundle
cd bundle
(
mkdir -p docker
cd docker
curl -fsSL -o docker.exe "https://${dockerBucket}/builds/Windows/x86_64/docker-${docker}.exe"
)
(
mkdir -p Boot2Docker
cd Boot2Docker
curl -fsSL -o boot2docker.iso "https://github.com/${boot2dockerIsoSrc}/boot2docker/releases/download/v${boot2dockerIso}/boot2docker.iso"
curl -fsSL -o boot2docker.exe "https://github.com/${boot2dockerCliSrc}/boot2docker-cli/releases/download/v${boot2dockerCli}/boot2docker-v${boot2dockerCli}-windows-amd64.exe"
)
(
mkdir -p msysGit
cd msysGit
curl -fsSL -o Git.exe "https://github.com/msysgit/msysgit/releases/download/Git-${msysGit}/Git-${msysGit}.exe"
)
(
mkdir -p VirtualBox
cd VirtualBox
# http://www.virtualbox.org/manual/ch02.html
curl -fsSL -o virtualbox.exe "http://download.virtualbox.org/virtualbox/${vbox}/VirtualBox-${vbox}-${vboxRev}-Win.exe"
virtualbox.exe -extract -silent -path .
rm virtualbox.exe # not neeeded after extraction
rm *x86.msi # not needed as we only install 64-bit
mv *_amd64.msi VirtualBox_amd64.msi # remove version number
)