Skip to content

Commit

Permalink
[devcontainer] Updated dockerfile to use devbox run dash dash (#776)
Browse files Browse the repository at this point in the history
## 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
  • Loading branch information
mohsenari authored Mar 16, 2023
1 parent 8c8aa17 commit 469cd55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/impl/tmpl/devcontainerDockerfile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 469cd55

Please sign in to comment.