This commit is contained in:
lrgex
2023-11-13 18:08:10 +03:00
parent 9c7eb39999
commit ae68137cae
2 changed files with 6 additions and 2 deletions

View File

@@ -81,10 +81,14 @@ RUN find /opt/lrgex/kiauh -type f -exec chmod +x {} \;
# Set the default shell to bash instead of sh beacuse kiauh needs this terminal
ENV TERM xterm
COPY scripts/docker-entrypoint.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/docker-entrypoint.sh
# Enable systemd init system in the container
VOLUME [ "/tmp", "/run", "/run/lock" ]
# Set the entrypoint
ENTRYPOINT ["docker-entrypoint.sh"]
ENTRYPOINT ["/usr/local/bin/docker-entrypoint.sh"]
# sudo docker run -d --name klipper -p 8562:80 --privileged --cap-add SYS_ADMIN --security-opt seccomp=unconfined --cgroup-parent=docker.slice --cgroupns private --tmpfs /tmp --tmpfs /run --tmpfs /run/lock klipper

View File

@@ -8,7 +8,7 @@ cat << "EOF"
╚══════╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═╝
╦╔═┬ ┬┌─┐┌─┐┌─┐┬─┐
╠╩╗│ │├─┘├─┘├┤ ├┬┘
╩ ╩┴─┘┴┴ ┴ └─┘┴└─ v1.5.0
╩ ╩┴─┘┴┴ ┴ └─┘┴└─ v1.5.1
EOF
# This script will run on every container start