Skip to content

Commit

Permalink
Using shared infrastructure
Browse files Browse the repository at this point in the history
  • Loading branch information
Aragas committed Apr 27, 2024
1 parent a78aeae commit 70fc6af
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 88 deletions.
23 changes: 0 additions & 23 deletions .devcontainer/Dockerfile

This file was deleted.

17 changes: 0 additions & 17 deletions .devcontainer/bannerlord/devcontainer-feature.json

This file was deleted.

2 changes: 0 additions & 2 deletions .devcontainer/bannerlord/install.sh

This file was deleted.

30 changes: 18 additions & 12 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,15 @@
{
"name": ".NET & Mono & Powershell",
"dockerFile": "Dockerfile",
"build": {
"cacheFrom": "ghcr.io/butr/bannerlord.blse-devcontainer:latest"
},
"image": "ghcr.io/butr/devcontainer:latest",
"features": {
"./upgrade": {
"ghcr.io/butr/devcontainer/upgrade:1": {

},
"ghcr.io/devcontainers/features/git:1": {
"version": "latest",
"ppa": "false"
},
"./mono": {
"ghcr.io/butr/devcontainer/mono:1": {

},
"ghcr.io/devcontainers/features/dotnet:2": {
Expand All @@ -23,23 +20,32 @@
}
},
"overrideFeatureInstallOrder": [
"./upgrade",
"ghcr.io/butr/devcontainer/upgrade",
"ghcr.io/devcontainers/features/git",
"./mono",
"ghcr.io/butr/devcontainer/mono",
"ghcr.io/devcontainers/features/dotnet",
"ghcr.io/devcontainers/features/powershell"
"ghcr.io/devcontainers/features/powershell",
],
"containerEnv": {
"DOTNET_CLI_TELEMETRY_OPTOUT": "true",
"DOTNET_HTTPREPL_TELEMETRY_OPTOUT": "true",
"DOTNET_NOLOGO": "true",
"DOTNET_SKIP_FIRST_TIME_EXPERIENCE": "true",
"DOTNET_USE_POLLING_FILE_WATCHER": "true",
"NUGET_XMLDOC_MODE": "skip"
"NUGET_XMLDOC_MODE": "skip",

"BANNERLORD_BUTR_COMPATIBILITY_SCORE_URL": "${localEnv:BANNERLORD_BUTR_COMPATIBILITY_SCORE_URL}"
},
"mounts": [
{
"source":"${localEnv:BANNERLORD_GAME_DIR}",
"target":"/bannerlord",
"type":"bind"
}
],
"postStartCommand": {
"dotnet restore": "dotnet restore src/Bannerlord.BLSE.sln"
},
"dotnet restore": "dotnet restore src/Bannerlord.BLSE.sln"
},
"postAttachCommand": "dotnet restore src/Bannerlord.BLSE.sln",
"customizations": {
"vscode": {
Expand Down
7 changes: 0 additions & 7 deletions .devcontainer/mono/devcontainer-feature.json

This file was deleted.

10 changes: 0 additions & 10 deletions .devcontainer/mono/install.sh

This file was deleted.

7 changes: 0 additions & 7 deletions .devcontainer/upgrade/devcontainer-feature.json

This file was deleted.

10 changes: 0 additions & 10 deletions .devcontainer/upgrade/install.sh

This file was deleted.

0 comments on commit 70fc6af

Please sign in to comment.