diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index a0e107e..12e06b9 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -46,4 +46,4 @@ jobs: cache-to: type=local,dest=/tmp/.buildx-cache platforms: linux/amd64,linux/arm64,linux/arm/v7 push: true - tags: lrgex/klipper-docker:latest + tags: lrgex/klipper-docker:2.3 diff --git a/reference.txt b/reference.txt index df406d7..948c7bb 100644 --- a/reference.txt +++ b/reference.txt @@ -13,7 +13,7 @@ sudo docker run -d --name klipper --device /dev/ttyUSB0:/dev/ttyUSB0 -v /home/lr sudo docker run -d --name klipper -p 5001:80 -p 7125:7125 --privileged --cap-add SYS_ADMIN --security-opt seccomp=unconfined --cgroup-parent=docker.slice --cgroupns private --tmpfs /tmp --tmpfs /run --tmpfs /run/lock lrgex/klipper-docker -sudo docker run -d --name klipper -p 5001:80 -p 7125:7125 -e PACKAGES="klipper moonraker fluidd" -v klipper-config:/home/lrgex/klipper/printer_data --privileged --cap-add SYS_ADMIN --security-opt seccomp=unconfined --cgroup-parent=docker.slice --cgroupns private --tmpfs /tmp --tmpfs /run --tmpfs /run/lock lrgex/klipper-docker:2.0 +sudo docker run -d --name klipper -p 5001:80 -p 7125:7125 -e PACKAGES="klipper moonraker fluidd" -v klipper-config:/home/lrgex --privileged --cap-add SYS_ADMIN --security-opt seccomp=unconfined --cgroup-parent=docker.slice --cgroupns private --tmpfs /tmp --tmpfs /run --tmpfs /run/lock lrgex/klipper-docker sudo docker run -d --name klipper -p 5001:80 -p 7125:7125 -e PACKAGES="klipper moonraker fluidd" --privileged --cap-add SYS_ADMIN --security-opt seccomp=unconfined --cgroup-parent=docker.slice --cgroupns private --tmpfs /tmp --tmpfs /run --tmpfs /run/lock lrgex/klipper-docker:2.0 diff --git a/scripts/fluidd.exp b/scripts/fluidd.exp index 88095ec..6729c72 100644 --- a/scripts/fluidd.exp +++ b/scripts/fluidd.exp @@ -18,23 +18,28 @@ expect { # using condition here to make a break for the loop created by exp_continue as i need to use the pattern 2 times one for pressing 1 and one for pressing q if {$menu} { send "1\r" + sleep 3 exp_continue } else { send "q\r" + sleep 3 exp_continue } } "*Installation Menu*" { if {$menu} { send "4\r" + sleep 3 exp_continue } else { send "b\r" + sleep 3 exp_continue } } "*Download the recommended macros? (Y/n)*" { send "y\r" + sleep 3 set menu 0 exp_continue } diff --git a/scripts/klipper.exp b/scripts/klipper.exp index 5abf939..95f356f 100644 --- a/scripts/klipper.exp +++ b/scripts/klipper.exp @@ -18,31 +18,38 @@ expect { # using condition here to make a break for the loop created by exp_continue as i need to use the pattern 2 times one for pressing 1 and one for pressing q if {$menu} { send "1\r" + sleep 3 exp_continue } else { send "q\r" + sleep 3 exp_continue } } "*Installation Menu*" { if {$menu} { send "1\r" + sleep 3 exp_continue } else { send "b\r" + sleep 3 exp_continue } } "*Initializing Klipper installation*" { send "\r" + sleep 3 exp_continue } "*Setting up too many instances may crash your system*" { send "\r" + sleep 3 exp_continue } "*WARNING: Your current user is not in group:*" { send "y\r" + sleep 3 # Change the condition to stop interacting with menus set menu 0 exp_continue diff --git a/scripts/mainsail.exp b/scripts/mainsail.exp index c906b97..735f182 100644 --- a/scripts/mainsail.exp +++ b/scripts/mainsail.exp @@ -18,23 +18,28 @@ expect { # using condition here to make a break for the loop created by exp_continue as i need to use the pattern 2 times one for pressing 1 and one for pressing q if {$menu} { send "1\r" + sleep 3 exp_continue } else { send "q\r" + sleep 3 exp_continue } } "*Installation Menu*" { if {$menu} { send "3\r" + sleep 3 exp_continue } else { send "b\r" + sleep 3 exp_continue } } "*Download the recommended macros? (Y/n):*" { send "y\r" + sleep 3 set menu 0 exp_continue } diff --git a/scripts/moonraker.exp b/scripts/moonraker.exp index c871a8d..1fa6ca8 100644 --- a/scripts/moonraker.exp +++ b/scripts/moonraker.exp @@ -18,23 +18,28 @@ expect { # using condition here to make a break for the loop created by exp_continue as i need to use the pattern 2 times one for pressing 1 and one for pressing q if {$menu} { send "1\r" + sleep 3 exp_continue } else { send "q\r" + sleep 3 exp_continue } } "*Installation Menu*" { if {$menu} { send "2\r" + sleep 3 exp_continue } else { send "b\r" + sleep 3 exp_continue } } "*Initializing Moonraker installation*" { send "y\r" + sleep 3 set menu 0 exp_continue }