Creating an Ubuntu Snap package to make noVNC easier to deploy. Note: the Snap is still a work in progress

This commit is contained in:
Tim Edwards 2019-04-20 01:45:49 +02:00
parent 2b2b6073dd
commit 9f46732090
1 changed files with 26 additions and 0 deletions

26
snap/snapcraft.yaml Normal file
View File

@ -0,0 +1,26 @@
name: novnc
base: core18 # the base snap is the execution environment for this snap
version: '1.1.0'
summary: Open Source VNC client using HTML5 (WebSockets, Canvas)
description: |
Open Source VNC client using HTML5 (WebSockets, Canvas).
noVNC is both a VNC client JavaScript library as well as an application built on top of that library. noVNC runs well in any modern browser including mobile browsers (iOS and Android).
grade: devel # must be 'stable' to release into candidate/stable channels
confinement: devmode # use 'strict' once you have the right plugs and slots
parts:
novnc:
source: https://github.com/novnc/noVNC/archive/v$SNAPCRAFT_PROJECT_VERSION.tar.gz
plugin: dump
websockify:
source: https://github.com/novnc/websockify
plugin: dump
source-type: git
build-packages:
- git
apps:
novnc:
command: utils/launch.sh
websockify:
command: utils/websockify/run