add x2go/xfce-debian docker image

* VDI server with temporary encrypted /home
This commit is contained in:
Yann Autissier
2022-04-05 18:07:14 +02:00
parent 093b99b0e3
commit f05f55cfdd
9 changed files with 200 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
FROM danger89/xfcevdi_x2go as dist
LABEL maintainer aynic.os <support+docker@asycn.io>
ARG DOCKER_BUILD_DIR
RUN apt-get update \
&& apt-get -fy upgrade \
&& apt-get -fy install \
ecryptfs-utils \
fail2ban \
iptables \
neovim \
&& apt-get clean \
&& rm -rf /var/cache/apt/archives/* /var/lib/apt/lists/*
COPY ${DOCKER_BUILD_DIR}/run.sh /app
COPY ${DOCKER_BUILD_DIR}/setup_ecryptfs.sh /app
COPY ${DOCKER_BUILD_DIR}/setup_locales.sh /app
COPY ${DOCKER_BUILD_DIR}/setup_sshd.sh /app
COPY ${DOCKER_BUILD_DIR}/setup_timezone.sh /app
COPY ${DOCKER_BUILD_DIR}/setup_users.sh /app
CMD []
ENTRYPOINT ["/app/run.sh"]
HEALTHCHECK CMD timeout 1 bash -c "</dev/tcp/localhost/22" 2>/dev/null
FROM dist as master
ARG DOCKER_BUILD_DIR