diff --git a/.gitpod.Dockerfile b/.gitpod.Dockerfile new file mode 100644 index 0000000..4c5a5cd --- /dev/null +++ b/.gitpod.Dockerfile @@ -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 \ No newline at end of file diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..9364bd7 --- /dev/null +++ b/.gitpod.yml @@ -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 \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index c6d4f87..f76d32d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,6 +7,7 @@ "typescript.enablePromptUseWorkspaceTsdk": true, "conventionalCommits.scopes": [ "global", - "defaultActivity" + "defaultActivity", + "gitpod" ] }