1
0
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:
Doro Wu
2020-07-22 22:45:48 +08:00
parent c41043bec9
commit d58b5c2f22
3 changed files with 23 additions and 36 deletions
+3 -1
View File
@@ -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 \