Skip to content

newsnowlabs/dockside-debian-desktop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dockside-debian-desktop

A basic Debian desktop for Dockside.

Installation with Dockside

Install to Dockside, by writing the following (example) profile to /data/config/profiles:

{
   "version": 2,
   "name": "Debian Desktop",
   "active": true,
   "routers": [
      {
         "name": "vnc",
         "prefixes": [ "www" ],
         "domains": [ "*" ],
         "https": { "protocol": "http", "port": 8080 },
         "auth": [ "developer", "owner", "viewer", "user", "containerCookie", "public" ],
      }
   ],
   "networks": [ "bridge" ],
   "images": [ "newsnowlabs/dockside-debian-desktop:latest", "us.gcr.io/dockside-io/dockside-debian-desktop" ],
   "unixusers": ["dockside"],
   "mounts": {
      "tmpfs": [],
      "bind": [],
      "volume": [
         // Use this to share encrypted ssh keys in the named volume among team members.
          { "src": "dockside-ssh-keys", "dst": "/home/{ideUser}/.ssh" } ]
   },
   "lxcfs": true,
   "dockerArgs": [],
   "command": [
      "/bin/sh", "-c", "[ -x \"$(which sudo)\" ] || (apt update && apt -y install sudo); /usr/local/bin/websockify --daemon --web /opt/noVNC-1.3.0/ 0.0.0.0:8080 localhost:5901; vncserver -xstartup /usr/bin/openbox-session -desktop '{container.hostname}' :1; sleep infinity"
   ],
}

Building

Use the included build.sh script. At its simplest, to build the image for the currently-running platform using the default builder (buildkit) run:

./build.sh

Run ./build.sh --help to see all command-line options. The build script supports building for multiple platforms with the --platforms option and a choice of builders (buildx and depot] with the --builder option.

About

A basic Debian desktop for Dockside

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published