Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix the devcontainer configuration to work with local development containers and GitHub Codespaces #1316

Merged
merged 1 commit into from
Sep 24, 2021

Conversation

arthurschreiber
Copy link
Contributor

What this does:

This changes the devcontainer configuration to work both in local VS Code containers as well as GitHub Codespaces. GitHub Codespaces do not support the workspaceFolder option yet, so after starting a Codespace we'd end up in a different folder that contained the node-mssql source code, but did not have the test/.mssql.json configuration properly set up.

Instead of using a docker volume to map the .mssql.json file into the correct location, we just copy it over on container creation, unless it is already there.

@dhensby dhensby merged commit 83ed9ed into master Sep 24, 2021
@dhensby dhensby deleted the arthur/fix-devcontainer-config branch September 24, 2021 11:47
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