generated from oci/template
All checks were successful
Build Docker Image on Commit / build-and-publish (push) Successful in 22s
31 lines
519 B
Docker
31 lines
519 B
Docker
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 DISPLAY=:0
|
|
|
|
# Install required packages
|
|
|
|
RUN apk add --no-cache \
|
|
openbox \
|
|
x11vnc \
|
|
xvfb \
|
|
xterm \
|
|
procps \
|
|
iproute2 \
|
|
inetutils-telnet \
|
|
xdpyinfo \
|
|
bash \
|
|
wget
|
|
|
|
# Create working directory
|
|
WORKDIR /
|
|
|
|
# Copy entrypoint script
|
|
COPY ./vnc.sh /vnc.sh
|
|
RUN chmod +x /vnc.sh
|
|
|
|
ENTRYPOINT ["/vnc.sh"]
|