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