diff --git a/.devcontainer/docker/Dockerfile b/.devcontainer/docker/Dockerfile index 70565f8..a55d2e9 100644 --- a/.devcontainer/docker/Dockerfile +++ b/.devcontainer/docker/Dockerfile @@ -139,6 +139,7 @@ RUN set -eux; \ python3-pip \ python3-venv \ redis-tools \ + ripgrep \ sqlite3 \ supervisor \ unzip \ diff --git a/.devcontainer/docker/verify-image.sh b/.devcontainer/docker/verify-image.sh index 661e5e3..fa4edc6 100755 --- a/.devcontainer/docker/verify-image.sh +++ b/.devcontainer/docker/verify-image.sh @@ -16,7 +16,7 @@ for extension in bcmath curl gd intl mbstring pcntl pdo_mysql pdo_sqlite redis z php --ri "$extension" >/dev/null done -for executable in cargo cc composer curl docker dw ffmpeg git make mysql node npm npx pip pip3 pkg-config playwright python python3 redis-cli rustc ssh sshd; do +for executable in cargo cc composer curl docker dw ffmpeg git make mysql node npm npx pip pip3 pkg-config playwright python python3 redis-cli rg rustc ssh sshd; do command -v "$executable" >/dev/null done diff --git a/tests/Unit/DevcontainerImageContractTest.php b/tests/Unit/DevcontainerImageContractTest.php index 3f513d4..a981d55 100644 --- a/tests/Unit/DevcontainerImageContractTest.php +++ b/tests/Unit/DevcontainerImageContractTest.php @@ -196,6 +196,7 @@ public function test_image_bakes_and_verifies_the_supported_toolchain(): void $this->assertLessThan($postPurgeExtensionCheck, $dependencyPurge); $this->assertStringContainsString('default-mysql-client', $dockerfile); $this->assertStringContainsString('redis-tools', $dockerfile); + $this->assertStringContainsString('ripgrep', $dockerfile); $this->assertStringContainsString('ffmpeg', $dockerfile); $this->assertStringContainsString('libcap2-bin', $dockerfile); $this->assertStringContainsString('openssh-server', $dockerfile); @@ -238,6 +239,7 @@ public function test_image_bakes_and_verifies_the_supported_toolchain(): void 'playwright', 'python', 'redis-cli', + 'rg', 'rustc', 'ssh', 'sshd',