Skip to content

Commit

Permalink
Adding missging Ubuntu package + run-k8s-full.sh script improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
ruzickap committed Dec 27, 2019
1 parent 471e2bb commit 53dfbdb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/part-01/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Install necessary software:
```bash
if [ -x /usr/bin/apt ]; then
apt update -qq
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq awscli curl git jq openssh-client sudo wget > /dev/null
DEBIAN_FRONTEND=noninteractive apt-get install -y -qq awscli curl docker.io gettext-base git jq openssh-client sudo wget > /dev/null
fi
```

Expand Down
7 changes: 2 additions & 5 deletions run-k8s-full.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,8 @@ DEMO_PROMPT="${GREEN}➜ ${CYAN}$ "

### Please run these commands before running the script

# if [ -n "$SSH_AUTH_SOCK" ]; then
# docker run -it --rm -e USER="$USER" -e GITHUB_API_TOKEN="$GITHUB_API_TOKEN" -e SSH_AUTH_SOCK=$SSH_AUTH_SOCK -v $PWD:/mnt -v $HOME/.ssh:/root/.ssh:ro -v $HOME/.aws:/root/.aws -v $HOME/.config/hub:/root/.config/hub:ro ubuntu
# else
# docker run -it --rm -e USER="$USER" -e GITHUB_API_TOKEN="$GITHUB_API_TOKEN" -v $PWD:/mnt -v $HOME/.ssh:/root/.ssh:ro -v $HOME/.aws:/root/.aws -v $HOME/.config/hub:/root/.config/hub:ro ubuntu
# fi
# SSH agent needs to be enabled
# docker run -it --rm -e USER -e GITHUB_API_TOKEN -e SSH_AUTH_SOCK -v $PWD:/mnt -v $HOME/.aws:/root/.aws -v $HOME/.config/hub:/root/.config/hub:ro ubuntu
# echo $(hostname -I) $(hostname) >> /etc/hosts
# apt-get update -qq && apt-get install -qq -y curl git pv > /dev/null
# cd /mnt
Expand Down

0 comments on commit 53dfbdb

Please sign in to comment.