From 08616ffee2c04e8581463b1895502079dc68468f Mon Sep 17 00:00:00 2001 From: Andy Bunce Date: Tue, 17 Mar 2026 15:40:57 +0000 Subject: [PATCH] fix: pushd --- docker-images/Dockerfile.agent | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker-images/Dockerfile.agent b/docker-images/Dockerfile.agent index c983255..8ce421e 100644 --- a/docker-images/Dockerfile.agent +++ b/docker-images/Dockerfile.agent @@ -28,10 +28,11 @@ ENV PATH="$BUN_INSTALL/bin:$PATH" RUN curl -fsSL https://bun.sh/install | bash # use bun for node, npx -RUN pushd /usr/local/bin && \ +RUN ( \ + cd /usr/local/bin && \ echo '#!/bin/sh' %3E npx && echo 'exec bunx "$@"' >> npx && chmod +x npx && \ echo '#!/bin/sh' %3E node && echo 'exec bun "$@"' >> node && chmod +x node && \ - popd + ) # --- NEW SECTION: RUST SETUP ---