28 lines
548 B
Docker
28 lines
548 B
Docker
FROM --platform=linux/amd64 eclipse-temurin:11-jre-focal
|
|
|
|
RUN apt-get update && apt-get install -y \
|
|
libgtk-3-0 \
|
|
libwebkit2gtk-4.0-37 \
|
|
libcanberra-gtk3-module \
|
|
libglib2.0-0 \
|
|
tigervnc-standalone-server \
|
|
tigervnc-common \
|
|
novnc \
|
|
websockify \
|
|
openbox \
|
|
x11-xkb-utils \
|
|
xkb-data \
|
|
fonts-dejavu \
|
|
fonts-liberation \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
EXPOSE 6080
|
|
|
|
ENV DISPLAY=:1
|
|
ENV LANG=es_ES.UTF-8
|
|
|
|
COPY entrypoint.sh /entrypoint.sh
|
|
RUN chmod +x /entrypoint.sh
|
|
|
|
ENTRYPOINT ["/entrypoint.sh"]
|