Made GitHub CLI install permanent in Gitpod (#14787)

This commit is contained in:
Nick Taylor 2021-09-21 15:27:39 -04:00 committed by GitHub
parent 910343ff85
commit 5fa87246df
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View file

@ -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"

View file

@ -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