From 469cd559949b0d9f3af284a5056ea5606c0cf9ce Mon Sep 17 00:00:00 2001 From: mohsenari Date: Thu, 16 Mar 2023 12:57:27 -0400 Subject: [PATCH] [devcontainer] Updated dockerfile to use devbox run dash dash (#776) ## Summary Fixed devcontainer fail due to `devbox shell -- ` being deprecated. ## How was it tested? devbox generate devcontainer open in vscode cmd + shift + p -> devcontainer: rebuild and reopen in container --- internal/impl/tmpl/devcontainerDockerfile.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/impl/tmpl/devcontainerDockerfile.tmpl b/internal/impl/tmpl/devcontainerDockerfile.tmpl index e2cf36444d8..e0d418d5f4f 100644 --- a/internal/impl/tmpl/devcontainerDockerfile.tmpl +++ b/internal/impl/tmpl/devcontainerDockerfile.tmpl @@ -25,6 +25,6 @@ ENV PATH="/home/${DEVBOX_USER}/.nix-profile/bin:/home/${DEVBOX_USER}/.devbox/nix WORKDIR /code RUN sudo chown $DEVBOX_USER:root /code COPY devbox.json devbox.json -RUN devbox shell -- echo "Installing packages" +RUN devbox run -- echo "Installing packages" CMD ["devbox", "shell"]