-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
444 additions
and
424 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Copyright (c) Microsoft Corporation. | ||
# Licensed under the MIT License. | ||
|
||
# Visual Studio Code image with .NET | ||
|
||
# NOTE: | ||
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/main/containers/dotnet | ||
|
||
ARG VARIANT="7.0-bullseye-slim" | ||
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:${VARIANT} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Copyright (c) Microsoft Corporation. | ||
# Licensed under the MIT License. | ||
|
||
# Note: | ||
# This is run during container creation. | ||
|
||
# Install Python 3 dependencies | ||
sudo apt install python3-pip -y | ||
sudo python3 -m pip install --upgrade pip | ||
sudo python3 -m pip install wheel | ||
|
||
# Install PowerShell dependencies | ||
$ProgressPreference = [System.Management.Automation.ActionPreference]::SilentlyContinue; | ||
if ($Null -eq (Get-PackageProvider -Name NuGet -ErrorAction Ignore)) { | ||
Install-PackageProvider -Name NuGet -Force -Scope CurrentUser; | ||
} | ||
if ($Null -eq (Get-InstalledModule -Name PowerShellGet -MinimumVersion 2.2.1 -ErrorAction Ignore)) { | ||
Install-Module PowerShellGet -MinimumVersion 2.2.1 -Scope CurrentUser -Force -AllowClobber; | ||
} | ||
if ($Null -eq (Get-InstalledModule -Name InvokeBuild -MinimumVersion 5.4.0 -ErrorAction Ignore)) { | ||
Install-Module InvokeBuild -MinimumVersion 5.4.0 -Scope CurrentUser -Force; | ||
} | ||
|
||
Import-Module ./scripts/dependencies.psm1; | ||
Install-Dependencies -Dev; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# Copyright (c) Microsoft Corporation. | ||
# Licensed under the MIT License. | ||
|
||
# Note: | ||
# This is run during container startup. | ||
|
||
# Install Python packages | ||
pip install -r requirements-docs.txt | ||
|
||
# Restore .NET packages | ||
dotnet restore |
Oops, something went wrong.