generated from oci/template
Update Dockerfile
Some checks failed
Build Docker Image on Commit / build-and-publish (push) Failing after 5s
Some checks failed
Build Docker Image on Commit / build-and-publish (push) Failing after 5s
This commit is contained in:
parent
ee2718a833
commit
3d3f233e0d
1 changed files with 32 additions and 1 deletions
33
Dockerfile
33
Dockerfile
|
@ -1 +1,32 @@
|
|||
FROM alpine:3.12
|
||||
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 \
|
||||
dhclient \
|
||||
inetutils \
|
||||
xdpyinfo \
|
||||
bash \
|
||||
wget
|
||||
|
||||
# Create working directory
|
||||
WORKDIR /
|
||||
|
||||
# Copy entrypoint script
|
||||
COPY ./vnc.sh /vnc.sh
|
||||
RUN chmod +x /vnc.sh
|
||||
|
||||
ENTRYPOINT ["/vnc.sh"]
|
||||
|
|
Loading…
Reference in a new issue