Created
October 21, 2021 14:17
-
-
Save ghuntley/7cb89a8e9c9616a1915ce038739a0132 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: openvscode-server | |
summary: Run VS Code on a remote machine through a modern web browser from anywhere | |
description: | | |
Run upstream VS Code on a remote machine with access through a modern web | |
browser from any device, anywhere. | |
license: MIT | |
base: core20 | |
confinement: strict | |
grade: stable | |
version: '1.61.0' | |
architectures: | |
- build-on: amd64 | |
layout: | |
/usr/bin/openvscode-server: | |
symlink: $SNAP/server.sh | |
parts: | |
openvscode-server: | |
plugin: dump | |
stage-packages: | |
- git | |
source: https://github.com/gitpod-io/openvscode-server/releases/download/openvscode-server-v$SNAPCRAFT_PROJECT_VERSION/openvscode-server-v$SNAPCRAFT_PROJECT_VERSION-linux-x64.tar.gz | |
override-build: | | |
ln -s server.sh openvscode-server | |
snapcraftctl build | |
apps: | |
openvscode-server: | |
command: openvscode-server | |
environment: | |
LANG: LC_ALL C.UTF-8 | |
EDITOR: code | |
VISUAL: code | |
GIT_EDITOR: "code --wait" | |
OPENVSCODE_SERVER_ROOT: $SNAP | |
plugs: | |
- home | |
- removable-media | |
- mount-observe | |
- network | |
- network-bind |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment