From 5fa87246df3e612e491be97a42af39a95fd1b79f Mon Sep 17 00:00:00 2001 From: Nick Taylor Date: Tue, 21 Sep 2021 15:27:39 -0400 Subject: [PATCH] Made GitHub CLI install permanent in Gitpod (#14787) --- .gitpod.dockerfile | 3 +++ gitpod-init.sh | 3 --- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitpod.dockerfile b/.gitpod.dockerfile index 54b35cab7..684bb871c 100644 --- a/.gitpod.dockerfile +++ b/.gitpod.dockerfile @@ -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" diff --git a/gitpod-init.sh b/gitpod-init.sh index 16b28da55..7f895d4b7 100755 --- a/gitpod-init.sh +++ b/gitpod-init.sh @@ -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