Skip to content

fix devcontainer failed to start#477

Merged
bikeshedder merged 2 commits intodeadpool-rs:mainfrom
dreamoutbox:fix-devcontainer
Apr 9, 2026
Merged

fix devcontainer failed to start#477
bikeshedder merged 2 commits intodeadpool-rs:mainfrom
dreamoutbox:fix-devcontainer

Conversation

@dreamoutbox
Copy link
Copy Markdown
Contributor

Fix the devcontainer failing to start in Codespaces and improve build performance.

Changes:

  • Fix redis-sentinel image tag in docker-compose
  • Move cargo-release and cargo-outdated installation to postCreateCommand
  • Add .dockerignore to avoid unnecessary full Docker rebuilds

Closes #476

Copy link
Copy Markdown
Contributor

@bombsimon bombsimon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm no maintainer nor collaborator but maybe a review will help ease load of maintainer anyway!

Nice fix! 🎉

@bikeshedder bikeshedder added the T-admin Type: Administrative/Deployment Task label Mar 24, 2026
@bikeshedder
Copy link
Copy Markdown
Collaborator

Awesome. Thanks a lot. I'll look into that shortly. 👍

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wonder what's the reason for adding this file. The Dockefile doesn't copy anything from the .devcontainer directory anyways so this does nothing.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You might be right.

normally the Dockerfile doesn't copy from .devcontainer. but I've noticed Codespaces sometimes rebuild the image when I completely stop and then start it. if there are changes in .devcontainer, even when I haven't changed the Dockerfile. That seemed to cause full rebuilds, so I added the dockerignore to try to prevent that.

@dreamoutbox dreamoutbox requested a review from bikeshedder April 9, 2026 10:10
Copy link
Copy Markdown
Contributor Author

@dreamoutbox dreamoutbox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reply to review

@bikeshedder bikeshedder merged commit df37445 into deadpool-rs:main Apr 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

T-admin Type: Administrative/Deployment Task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Devcontainer fails to start

3 participants