diff --git a/flux/src/Dockerfile b/flux/src/Dockerfile index e133a75d..3fa98f64 100644 --- a/flux/src/Dockerfile +++ b/flux/src/Dockerfile @@ -235,4 +235,6 @@ bash /etc/skel/.fluxbox/fluxbox.sh; \n\ bash /xconf.sh;\n\ touch /rootfs/.core-init-lock\n\ " > /rootfs/.core-init -CMD ["bash", "-c", "test -f /rootfs/.core-init-lock || bash /rootfs/.core-init; exec /entry.sh"] +# # tini: https://www.5axxw.com/wiki/content/01ppi2 +# ENTRYPOINT ["/sbin/tini","--"] +CMD ["/sbin/tini -- bash", "-c", "test -f /rootfs/.core-init-lock || bash /rootfs/.core-init; exec /entry.sh"]