mirror of
https://git.myvelabs.com/novnc/alpine.git
synced 2025-12-17 19:56:21 +00:00
Returned i3 due to smaller image size
This commit is contained in:
parent
788fa4cd6a
commit
710fec6129
5 changed files with 9 additions and 5 deletions
|
|
@ -45,8 +45,9 @@ user_pref("browser.tabs.closeWindowWithLastTab", false);
|
|||
user_pref("browser.fullscreen.autohide", false);
|
||||
firefox
|
||||
|
||||
# Openbox autostart
|
||||
cat >~/.config/openbox/autostart <<- 'firefox'
|
||||
# Firefox startup
|
||||
install /dev/stdin ~/.config/${AUTOSTARTDIR}/autostart <<- 'firefox'
|
||||
#!/usr/bin/env bash
|
||||
# Run firefox
|
||||
while true
|
||||
do
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
# syntax = docker/dockerfile:1
|
||||
FROM myvnc/alpine/openbox
|
||||
#FROM myvnc/alpine/openbox
|
||||
FROM myvnc/alpine/i3
|
||||
USER root
|
||||
|
||||
# Build ARG: use "root" for debugging
|
||||
|
|
|
|||
|
|
@ -73,5 +73,5 @@ for_window [all] border none
|
|||
default_border none
|
||||
|
||||
# Execute startup script for webapp
|
||||
exec --no-startup-id /bin/bash ~/.config/i3/startapp.sh
|
||||
exec --no-startup-id /bin/bash ~/.config/i3/autostart
|
||||
i3config
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ ARG debug
|
|||
|
||||
# X session environment variable
|
||||
ENV STARTXBIN=i3
|
||||
ENV AUTOSTARTDIR=i3
|
||||
|
||||
# Run
|
||||
RUN apk add --no-cache \
|
||||
|
|
@ -18,4 +19,4 @@ RUN apk add --no-cache \
|
|||
COPY *.sh /app/init.d/
|
||||
|
||||
# Reset user
|
||||
USER ${debug:-user}
|
||||
USER ${debug:-user}
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ ARG debug
|
|||
|
||||
# X session environment variable
|
||||
ENV STARTXBIN=openbox-session
|
||||
ENV AUTOSTARTDIR=openbox
|
||||
|
||||
# Run
|
||||
RUN apk add --no-cache \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue