Skip to content

Conversation

@inm-certi
Copy link

Hello,

First of all, thank you for this script.

I found some issues using the script (image hash, workspace location and .devcontainer.json file) so I updated the script to suppport these.

Would you like to review/merge it?

Best regards,
Ian Maciel

inm-certi added 3 commits July 5, 2022 18:01
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.
The output of a docker build command is not an image hash and this
were causing error on docker run command.

This commit parses the build command output to extract only the hash
and use later to run the docker.
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.

1 participant