From 74536527259fdbb02de03dcf655da35b0732ddb2 Mon Sep 17 00:00:00 2001 From: Volodymyr Kolesnykov Date: Sat, 11 Jan 2025 04:46:59 +0000 Subject: [PATCH] feat(devcontainer): install `netcat` and `telnet` for debugging --- .../local-features/cron-runner-environment/install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.devcontainer/local-features/cron-runner-environment/install.sh b/.devcontainer/local-features/cron-runner-environment/install.sh index 4e81fd0..9b6686d 100755 --- a/.devcontainer/local-features/cron-runner-environment/install.sh +++ b/.devcontainer/local-features/cron-runner-environment/install.sh @@ -1,5 +1,9 @@ #!/bin/sh +apt-get update +apt-get install -y telnet netcat-openbsd +rm -rf /var/lib/apt/lists/* + install -D -m 0644 -o root -g root fpm-cron-runner.php /var/wpvip/fpm-cron-runner.php install -m 0755 -o root -g root cron-runner-postinstall.sh /var/lib/wordpress/postinstall.d/cron-runner-postinstall rm -rf /var/www/*