Made GitHub CLI install permanent in Gitpod (#14787)
This commit is contained in:
parent
910343ff85
commit
5fa87246df
2 changed files with 3 additions and 3 deletions
|
|
@ -3,6 +3,9 @@ FROM gitpod/workspace-postgres
|
|||
# Install Ruby
|
||||
ENV RUBY_VERSION=3.0.2
|
||||
|
||||
# Install the GitHub CLI
|
||||
RUN brew install gh
|
||||
|
||||
# Taken from https://www.gitpod.io/docs/languages/ruby
|
||||
RUN echo "rvm_gems_path=/home/gitpod/.rvm" > ~/.rvmrc
|
||||
RUN bash -lc "rvm install ruby-$RUBY_VERSION && rvm use ruby-$RUBY_VERSION --default"
|
||||
|
|
|
|||
|
|
@ -1,8 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
echo "Installing the GitHub CLI"
|
||||
brew install gh
|
||||
|
||||
cp .env_sample .env
|
||||
echo "APP_DOMAIN=\"$(gp url 3000 | cut -f 3 -d /)\"" >> .env
|
||||
echo 'APP_PROTOCOL="https://"' >> .env
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue