mirror of
https://github.com/fcwu/docker-ubuntu-vnc-desktop
synced 2026-08-05 16:12:41 +02:00
fix(jinja): support LXDE and Ubuntu 20.04 only
This commit is contained in:
@@ -5,6 +5,7 @@ REPO ?= dorowu/ubuntu-desktop-lxde-vnc
|
||||
TAG ?= latest
|
||||
# you can choose other base image versions
|
||||
IMAGE ?= ubuntu:20.04
|
||||
# IMAGE ?= nvidia/cuda:10.1-cudnn7-devel-ubuntu18.04
|
||||
# choose from supported flavors (see available ones in ./flavors/*.yml)
|
||||
FLAVOR ?= lxde
|
||||
# armhf or amd64
|
||||
@@ -18,7 +19,7 @@ build: $(templates)
|
||||
docker build -t $(REPO):$(TAG) .
|
||||
|
||||
# Test run the container
|
||||
# the local dir will be mounted under /src read-only
|
||||
# the local dir will be mounted under /src read-only
|
||||
run:
|
||||
docker run --privileged --rm \
|
||||
-p 6080:80 -p 6081:443 \
|
||||
@@ -27,6 +28,7 @@ run:
|
||||
-e ALSADEV=hw:2,0 \
|
||||
-e SSL_PORT=443 \
|
||||
-e RELATIVE_URL_ROOT=approot \
|
||||
-e OPENBOX_ARGS="--startup /usr/bin/galculator" \
|
||||
-v ${PWD}/ssl:/etc/nginx/ssl \
|
||||
--device /dev/snd \
|
||||
--name ubuntu-desktop-lxde-test \
|
||||
|
||||
Reference in New Issue
Block a user