Last active
June 3, 2021 10:28
Revisions
-
jacopen revised this gist
Jun 3, 2021 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -14,6 +14,7 @@ echo 'export PATH="~/.rbenv/bin:$PATH"' >> ~/.bashrc source ~/.bashrc git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build rbenv install 2.7.2 rbenv global 2.7.2 # Setup Docker curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - -
jacopen created this gist
Jun 3, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,33 @@ #!/bin/bash sudo apt update sudo apt install -y build-essential vim curl git gzip unzip apt-transport-https ca-certificates gnupg-agent software-properties-common libssl-dev zlib1g-dev nodejs npm # Setup n npm install -g n sudo n latset sudo apt purge nodejs npm # Setup rbenv git clone https://github.com/rbenv/rbenv.git ~/.rbenv echo 'export PATH="~/.rbenv/bin:$PATH"' >> ~/.bashrc ~/.rbenv/bin/rbenv init >> ~/.bashrc source ~/.bashrc git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build rbenv install 2.7.2 # Setup Docker curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release -cs) \ stable" sudo apt-get update sudo apt-get -y install docker-ce docker-ce-cli containerd.io sudo usermod -aG docker ubuntu # Clone dreamkast repositories mkdir workspace cd workspace git clone git@github.com:cloudnativedaysjp/dreamkast.git git clone git@github.com:cloudnativedaysjp/dreamkast-ui.git git clone git@github.com:cloudnativedaysjp/dreamkast-infra.git