Skip to content

Commit 1798a61

Browse files
akosyakovMatthewFagan
authored and
MatthewFagan
committed
[code] fix gitpod-io#4780: desktop support
1 parent 34f9c9b commit 1798a61

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

components/ide/code/leeway.Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ RUN curl -fsSL https://github.com/raw/nvm-sh/nvm/v0.38.0/install.sh |
4141
&& npm install -g yarn node-gyp
4242
ENV PATH $NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
4343

44-
ENV GP_CODE_COMMIT 06711200f6a3a19af94f91102fd49d921b1145db
44+
ENV GP_CODE_COMMIT 9bc86ad1d6f3f7116ef96003983738963fd70a6f
4545
RUN mkdir gp-code \
4646
&& cd gp-code \
4747
&& git init \
@@ -50,6 +50,7 @@ RUN mkdir gp-code \
5050
&& git reset --hard FETCH_HEAD
5151
WORKDIR /gp-code
5252
RUN yarn
53+
RUN yarn gitpod:link
5354
RUN yarn gulp gitpod-min
5455

5556
# grant write permissions for built-in extensions
@@ -75,5 +76,5 @@ ENV GITPOD_ENV_SET_EDITOR /ide/bin/code
7576
ENV GITPOD_ENV_SET_VISUAL "$GITPOD_ENV_SET_EDITOR"
7677
ENV GITPOD_ENV_SET_GP_OPEN_EDITOR "$GITPOD_ENV_SET_EDITOR"
7778
ENV GITPOD_ENV_SET_GIT_EDITOR "$GITPOD_ENV_SET_EDITOR --wait"
78-
ENV GITPOD_ENV_SET_GP_PREVIEW_BROWSER "/ide/bin/code --command gitpod.api.preview"
79-
ENV GITPOD_ENV_SET_GP_EXTERNAL_BROWSER "/ide/bin/code --open-external"
79+
ENV GITPOD_ENV_SET_GP_PREVIEW_BROWSER "/ide/bin/code --preview"
80+
ENV GITPOD_ENV_SET_GP_EXTERNAL_BROWSER "/ide/bin/code --openExternal"

0 commit comments

Comments
 (0)