-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathwebinstall
36 lines (26 loc) · 1.28 KB
/
webinstall
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
#!/usr/bin/env bash
# TODO: All the paths need to change on final
## TO USE THIS SCRIPT PASTE THE FOLLOWING INTO THE TERMINAL:
# bash -c "$(curl -s https://raw.githubusercontent.com/bhudgens/stardock/master/webinstall)"
##############################################################################
## Author: Benjamin Hudgens
## Date: April 11, 2019
##
## Description: Fully Deploy stardock from the command line
##
##############################################################################
## Locations to this repo
##############################################################################
## Main Foo
##############################################################################
apt update -y
apt install -y apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable"
apt update -y
apt install -y docker-ce jq python parallel awscli
STARDOCK_INSTALL_DIR="/var/stardock"
mkdir -p "${STARDOCK_INSTALL_DIR}"
git clone 'https://github.com/bhudgens/stardock.git' "${STARDOCK_INSTALL_DIR}"
pushd "${STARDOCK_INSTALL_DIR}" > /dev/null
cp -R "${STARDOCK_INSTALL_DIR}/overlays/host"/* /