chore(gitpod): 🧑💻 add Gitpod config for testing RPC in Gitpod workspaces
Signed-off-by: Andrei Jiroh Eugenio Halili <ajhalili2006@gmail.com>
This commit is contained in:
parent
fdcb58af13
commit
e356d84785
|
@ -0,0 +1,12 @@
|
|||
FROM gitpod/workspace-full-vnc
|
||||
|
||||
# Install Discord stuff behind the scenes
|
||||
WORKDIR /home/gitpod
|
||||
RUN wget "https://discord.com/api/download?platform=linux&format=tar.gz" -O /tmp/discord.tar.gz \
|
||||
&& mkdir -p ~/.local/lib && tar xvf /tmp/discord.tar.gz && mv ~/Discord ~/.local/lib/discord \
|
||||
&& rm /tmp/discord.tar.gz \
|
||||
&& sudo chown root:root ~/.local/lib/discord/chrome-sandbox && sudo chmod 4755 ~/.local/lib/discord/chrome-sandbox
|
||||
|
||||
# Then install Xfce4 goodies and deps for Electron-based apps
|
||||
RUN sudo install-packages xfce4 xfce4-goodies libnss3 xubuntu-default-settings xubuntu-icon-theme firefox dbus dbus-x11 libgbm-dev
|
||||
ENV WINDOW_MANAGER=startxfce4
|
|
@ -0,0 +1,12 @@
|
|||
# This configuration file was automatically generated by Gitpod.
|
||||
# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file)
|
||||
# and commit this file to your remote git repository to share the goodness with others.
|
||||
|
||||
image:
|
||||
file: .gitpod.Dockerfile
|
||||
tasks:
|
||||
- name: Start Discord
|
||||
command: ~/.local/lib/discord/Discord
|
||||
ports:
|
||||
- port: 5900
|
||||
onOpen: ignore
|
|
@ -7,6 +7,7 @@
|
|||
"typescript.enablePromptUseWorkspaceTsdk": true,
|
||||
"conventionalCommits.scopes": [
|
||||
"global",
|
||||
"defaultActivity"
|
||||
"defaultActivity",
|
||||
"gitpod"
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue