Skip to content

Commit

Permalink
Updating install scripts.
Browse files Browse the repository at this point in the history
  • Loading branch information
algogrit committed Jul 12, 2019
1 parent 1572b7f commit a7be7d4
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 4 deletions.
9 changes: 7 additions & 2 deletions code-samples/10-docker-compose/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@

echo "Installing docker-compose..."

sudo curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
curl -L "https://github.com/docker/compose/releases/download/1.24.1/docker-compose-$(uname -s)-$(uname -m)" -o /tmp/docker-compose

sudo mv /tmp/docker-compose /usr/local/bin/docker-compose

sudo chmod +x /usr/local/bin/docker-compose

sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
sudo ln -sf /usr/local/bin/docker-compose /usr/bin/docker-compose

echo "Installation complete! Please verfiy using: "
echo " docker-compose version"
14 changes: 14 additions & 0 deletions code-samples/11-kubernetes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,20 @@

![Kubernetes](https://upload.wikimedia.org/wikipedia/commons/b/be/Kubernetes.png)

## Setup

```bash
./install.sh
```

## Getting Started

```bash
minikube start --vm-driver=kvm2

kubectl version
```

## Resources

In-browser Hands-on: [Playground](https://training.play-with-kubernetes.com/kubernetes-workshop/)
Expand Down
4 changes: 2 additions & 2 deletions code-samples/11-kubernetes/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@ chmod +x docker-machine-driver-kvm2
sudo mv docker-machine-driver-kvm2 /usr/local/bin/

echo "Installation done! Please verfiy by running..."
echo "kubectl version"
echo "minikube version"
echo " minikube version"
echo " kubectl version"

0 comments on commit a7be7d4

Please sign in to comment.