How to set up a devcontainer together with a Docker entrypoint script? #122
-
I have asked this question on Stack Overflow but did not get any response yet: For completeness of information I will post the question body below too. BackgroundI have a git repository with a Dockerfile inside as well as entrypoint.sh script. Dockerfile:
Entrypoint:
This works well on my local machine where I can build a container and then QuestionI have recently noticed a raise of the devcontainer standard which is used by GitHub Codespaces as well as DevPod and I wanted to add a My JSON configuration:
However, whenever I start a new instance of the development environment I can check in the terminal inside that I am still Could someone please let me know how should I set up the PS:All this is based on a public repo of mine: https://github.com/AngryMaciek/hypercomplex. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Hi 👋
Super nice to hear this, a very warm welcome to "Dev Containers" 👋
For the supporting tools like VS Code's Dev Container extension or GitHub Codespaces, the Hence, when using a dev container, we recommend using lifecycle hooks instead of an Are you familiar with dev container Features? They will be very handy looking at the config in https://github.com/AngryMaciek/hypercomplex. Read more at https://containers.dev/implementors/features/ Let us know if anything is unclear or if you are still facing issues, happy to dig deeper in your dev container config and help fix the issue for you. |
Beta Was this translation helpful? Give feedback.
-
Hello @chrmarti and @samruddhikhandale , I will ask my question on this thread since I think it is highly similar. I have set |
Beta Was this translation helpful? Give feedback.
Hi 👋
Super nice to hear this, a very warm welcome to "Dev Containers" 👋
For the supporting tools like VS Code's Dev Container exte…