generated from oci/template
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 28s
23 lines
557 B
Docker
23 lines
557 B
Docker
FROM alpine:latest
|
|
|
|
ENV VNC_BUILTIN_WIDTH=1024 \
|
|
VNC_BUILTIN_HEIGHT=768 \
|
|
VNC_BUILTIN_PIXELDEPTH=32 \
|
|
VNC_BUILTIN_DISABLED=true \
|
|
DISPLAY=:0
|
|
|
|
# Install packages: X/VNC, fonts, terminal, i3, and utilities
|
|
RUN apk add --no-cache \
|
|
x11vnc xvfb xterm bash \
|
|
procps iproute2 inetutils-telnet xdpyinfo wget \
|
|
font-noto font-noto-cjk font-noto-emoji fontconfig \
|
|
i3wm i3blocks i3status htop
|
|
|
|
# Configure i3
|
|
COPY i3.config /root/.config/i3/config
|
|
|
|
# Entrypoint script
|
|
COPY vnc.sh /vnc.sh
|
|
RUN chmod +x /vnc.sh
|
|
|
|
ENTRYPOINT ["/vnc.sh"]
|