mirror of
https://git.myvelabs.com/novnc/alpine.git
synced 2025-12-18 01:46:21 +00:00
Switch from i3 to openbox WM
This commit is contained in:
parent
147280b82f
commit
05f054f088
4 changed files with 78 additions and 0 deletions
26
openbox/Dockerfile
Normal file
26
openbox/Dockerfile
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
# syntax = docker/dockerfile:1
|
||||
FROM myvnc/alpine/base
|
||||
USER root
|
||||
|
||||
# Build ARG: use "root" for debugging
|
||||
ARG debug
|
||||
|
||||
# X session environment variable
|
||||
ENV STARTXBIN=openbox-session
|
||||
|
||||
# Run
|
||||
RUN apk add --no-cache \
|
||||
tigervnc \
|
||||
openbox \
|
||||
font-dejavu \
|
||||
&& sed '/<\/applications>/i\ \
|
||||
<application class="*">\ \
|
||||
<maximized>true</maximized>\ \
|
||||
<decor>no</decor>\ \
|
||||
</application>' -i /etc/xdg/openbox/rc.xml
|
||||
|
||||
# Tigervnc initialization scripts
|
||||
COPY *.sh /app/init.d/
|
||||
|
||||
# Reset user
|
||||
USER ${debug:-user}
|
||||
Loading…
Add table
Add a link
Reference in a new issue