Skip to content

Conversation

@seletivo-cdm
Copy link

@seletivo-cdm seletivo-cdm commented Jul 14, 2022

Hello

I noticed that you have a PR unmerged here BorisWilhelms#1 . As I also have updated and improved the script (I think some of the fixes were equal), I updated yours so we can keep an updated version.

Would you like to review it?

[EDIT]
I'm sorry I opened the PR using the wrong account.
It was supposed to be opened by @inm-certi

inm-certi added 6 commits July 7, 2022 09:51
Devcontainer configuration might be saved on .devcontainer folder or
.devcontainer.json.

This commit add the missing support for .devcontainer.json file.
vscode mounts the entire project (where .git is located) on
/workspace.

This commit changes the script behavior to find the .git folder,
mount this bind and use the current workspace inside the docker just
like vscode.
Avoid docker build output buy using the debug function. The output
will be displayed if the flag VERBOSE is enabled.
Include support for POST_CREATE_COMMAND and only execute these type
of command if the docker file has changed and the image has to be
built again.
This initialization script were not working correctly on
mcr.microsoft.com/vscode/devcontainers/base:0-ubuntu-20.04 image.

The commit avoid this unecessary code as the microsoft image already
has the same user id.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants