You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[generate] Fixed permission issue for generated dockerfile (#657)
## Summary
- Fixed permission issue with generated dockerfile for `devebox generate
devcontainer` and `devbox generate dockerfile` addressing issue #627
- Fixed issue with entrypoint command for generated dockerfile. The old
format was causing the built image to have `devbox /bin/sh -c ["shell"]`
as entrypoint instead of the intended `devbox shell`. So running `docker
run image_name` would result in `Error: unknown command "/bin/sh" for
"devbox"`
## How was it tested?
compile
run `devbox generate dockerfile`
run `docker built devboximage .`
run `docker run -it devboximage`
confirm docker image is built successfully
confirm docker image runs successfully
0 commit comments