generated from oci/template
update to use i3 instead of openbox
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 29s
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 29s
This commit is contained in:
parent
eb937f0aab
commit
b46f9fccce
3 changed files with 67 additions and 27 deletions
37
Dockerfile
37
Dockerfile
|
@ -1,33 +1,46 @@
|
|||
FROM alpine:latest
|
||||
|
||||
# Set environment for non-interactive installs
|
||||
ENV VNC_BUILTIN_WIDTH=1280
|
||||
ENV VNC_BUILTIN_HEIGHT=720
|
||||
ENV VNC_BUILTIN_PIXELDEPTH=24
|
||||
ENV VNC_BUILTIN_DISABLED=false
|
||||
ENV VNC_BUILTIN_WIDTH=1024
|
||||
ENV VNC_BUILTIN_HEIGHT=768
|
||||
ENV VNC_BUILTIN_PIXELDEPTH=32
|
||||
ENV VNC_BUILTIN_DISABLED=true
|
||||
ENV DISPLAY=:0
|
||||
|
||||
# Install required packages
|
||||
|
||||
# Install X/VNC packages
|
||||
RUN apk add --no-cache \
|
||||
openbox \
|
||||
x11vnc \
|
||||
xvfb \
|
||||
xterm \
|
||||
bash \
|
||||
procps \
|
||||
iproute2 \
|
||||
inetutils-telnet \
|
||||
xdpyinfo \
|
||||
bash \
|
||||
wget
|
||||
|
||||
# Create working directory
|
||||
# Create working directory and expose volume for user data
|
||||
WORKDIR /
|
||||
|
||||
# Make sure userdata is stored
|
||||
VOLUME /root
|
||||
# Install Fonts
|
||||
RUN apk add --no-cache \
|
||||
font-noto \
|
||||
font-noto-cjk \
|
||||
font-noto-emoji \
|
||||
fontconfig
|
||||
|
||||
# Copy entrypoint script
|
||||
# Intall and Setup i3 window manager
|
||||
RUN apk add --no-cache \
|
||||
i3wm \
|
||||
i3blocks \
|
||||
i3status\
|
||||
htop
|
||||
|
||||
# Copy minimal config
|
||||
RUN mkdir -p /root/.config/i3
|
||||
COPY i3.config /root/.config/i3/config
|
||||
|
||||
# Copy and prepare entrypoint script
|
||||
COPY ./vnc.sh /vnc.sh
|
||||
RUN chmod +x /vnc.sh
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue