Skip to content

Commit

Permalink
Fix postCreateCommand.sh (#258)
Browse files Browse the repository at this point in the history
* Fix postCreateCommand.sh

* Added new version
  • Loading branch information
mattiascibien authored May 31, 2024
1 parent 59954b8 commit 9309044
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/dotnet-mssql/.devcontainer/mssql/postCreateCommand.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ then
then
dbname=$(basename $f ".dacpac")
echo "Deploying dacpac $f"
/opt/sqlpackage/sqlpackage /Action:Publish /SourceFile:$f /TargetServerName:localhost /TargetDatabaseName:$dbname /TargetUser:sa /TargetPassword:$SApassword
/opt/sqlpackage/sqlpackage /Action:Publish /SourceFile:$f /TargetTrustServerCertificate:True /TargetServerName:db /TargetDatabaseName:$dbname /TargetUser:sa /TargetPassword:$SApassword
fi
done
fi
fi
2 changes: 1 addition & 1 deletion src/dotnet-mssql/devcontainer-template.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "dotnet-mssql",
"version": "3.1.0",
"version": "3.2.0",
"name": "C# (.NET) and MS SQL",
"description": "Develop C# and .NET Core based applications. Includes all needed SDKs, extensions, dependencies and an MS SQL container for parallel database development. Adds an additional MS SQL container to the C# (.NET Core) container definition and deploys any .dacpac files from the mssql .devcontainer folder.",
"documentationURL": "https://github.com/devcontainers/templates/tree/main/src/dotnet-mssql",
Expand Down

0 comments on commit 9309044

Please sign in to comment.