diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e8cdd1c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,30 @@ +# -------------------- luisgulo ------------------------- +# https://gitea.soloconlinux.org.es/DOCKER/debian-desktop +# Debian 12 with Mate Desktop via VNC +# ------------------------------------------------------- + +# Latest Debian distribution +FROM debian:latest + +# ------ Mate Desktop (via MetaPackage) + VNC ------------------------------ +RUN apt-get -y update +# Include soloconlinux.org.es repo +RUN apt-get -y install ca-certificates wget curl gnupg apt-transport-https +# Include soloconlinux.org.es repo +RUN install -m 0755 -d /etc/apt/keyrings && \ + wget https://repositorio.soloconlinux.org.es/soloconlinux.gpg -O /etc/apt/keyrings/soloconlinux.gpg && \ + chmod a+r /etc/apt/keyrings/soloconlinux.gpg +RUN echo \ + "deb [arch="$(dpkg --print-architecture)" signed-by=/etc/apt/keyrings/soloconlinux.gpg] http://repositorio.soloconlinux.org.es/ \ + "$(. /etc/os-release && echo "$VERSION_CODENAME")" main contrib non-free" > /etc/apt/sources.list.d/soloconlinux.list +# Firefox official from soloconlinux +RUN apt-get -y update && apt-get -y install firefox +# Install Desktop +RUN DEBIAN_FRONTEND=noninteractive apt-get -y install -f mate-desktop-environment mate-desktop-environment-core mate-desktop-environment-extras tightvncserver +# VNC Config +RUN mkdir /root/.vnc && \ + echo "debian"|vncpasswd -f > /root/.vnc/passwd && \ + chmod 0600 /root/.vnc/passwd + +# Launch +CMD ["bash"]