This repository has been archived by the owner on Nov 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
98 changed files
with
781 additions
and
617 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -2,7 +2,9 @@ bin | |
obj | ||
*.DS_Store | ||
*.pyc | ||
.idea | ||
Thumbs.db | ||
.build | ||
node_modules | ||
node_modules | ||
.vscode/ipch | ||
*.out | ||
*.log |
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 |
---|---|---|
@@ -1,9 +1,18 @@ | ||
FROM debian | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y apt-transport-https curl gnupg2 lsb-release \ | ||
# Install git | ||
RUN apt-get update && apt-get -y install git | ||
|
||
# Install the Azure CLI | ||
RUN apt-get install -y apt-transport-https curl gnupg2 lsb-release \ | ||
&& echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ $(lsb_release -cs) main" > /etc/apt/sources.list.d/azure-cli.list \ | ||
&& curl -L https://packages.microsoft.com/keys/microsoft.asc | apt-key add - \ | ||
&& apt-get update \ | ||
&& apt-get install -y azure-cli \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
&& apt-get install -y azure-cli | ||
|
||
# Clean up | ||
RUN apt-get autoremove -y \ | ||
&& apt-get clean -y \ | ||
&& apt-get autoclean -y \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
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 |
---|---|---|
@@ -1,16 +1,26 @@ | ||
FROM microsoft/dotnet:2.1-sdk-stretch | ||
|
||
# Install required tools | ||
# Install git | ||
RUN apt-get update && apt-get -y install git | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y git apt-transport-https curl \ | ||
# Install Node.js | ||
RUN apt-get install -y curl \ | ||
&& curl -sSL https://deb.nodesource.com/setup_8.x | bash - \ | ||
&& apt-get update \ | ||
&& apt-get install -y nodejs | ||
|
||
# Install Azure Functions | ||
RUN apt-get install -y apt-transport-https \ | ||
&& curl -sSO https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb \ | ||
&& dpkg -i packages-microsoft-prod.deb \ | ||
&& rm packages-microsoft-prod.deb \ | ||
&& apt-get update \ | ||
&& apt-get install -y nodejs \ | ||
&& apt-get download azure-functions-core-tools \ | ||
&& dpkg -i --force-depends azure-functions-core-tools*.deb \ | ||
&& rm azure-functions-core-tools*.deb \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
&& rm azure-functions-core-tools*.deb | ||
|
||
# Clean up | ||
RUN apt-get autoremove -y \ | ||
&& apt-get clean -y \ | ||
&& apt-get autoclean -y \ | ||
&& rm -rf /var/lib/apt/lists/* |
Binary file not shown.
Binary file not shown.
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
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,16 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=733558 | ||
// for the documentation about the tasks.json format | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "Build Main", | ||
"type": "shell", | ||
"command": " cd test-project && g++ -g main.cpp -o main.out", | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
} | ||
} | ||
] | ||
} |
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 |
---|---|---|
|
@@ -4,3 +4,4 @@ test-project | |
.vscode/launch.test.json | ||
.vscode/settings.json | ||
.vscode/tasks.json | ||
.vscode/ipch |
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
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 |
---|---|---|
@@ -1,3 +1,13 @@ | ||
FROM google/dart | ||
ENV PATH="$PATH":"/root/.pub-cache/bin" | ||
RUN pub global activate webdev | ||
|
||
# Install git | ||
RUN apt-get update && apt-get -y install git | ||
|
||
# Clean up | ||
RUN apt-get autoremove -y \ | ||
&& apt-get clean -y \ | ||
&& apt-get autoclean -y \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
15 changes: 15 additions & 0 deletions
15
definitions/dotnetcore-2.2-fsharp/dev-container.dockerfile
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,15 @@ | ||
FROM microsoft/dotnet:2.2-sdk | ||
|
||
# Install git | ||
RUN apt-get update && apt-get -y install git | ||
|
||
|
||
# Install fsharp | ||
RUN apt-get update && apt-get -y fsharp | ||
|
||
# Clean up | ||
RUN apt-get autoremove -y \ | ||
&& apt-get clean -y \ | ||
&& apt-get autoclean -y \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions
12
...ions/dotnetcore/.vscode/devContainer.json → .../dotnetcore-2.2/.vscode/devContainer.json
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": ".NET Core", | ||
"dockerFile": "dev-container.dockerfile", | ||
"extensions": [ | ||
"ms-vscode.csharp" | ||
] | ||
{ | ||
"name": ".NET Core", | ||
"dockerFile": "dev-container.dockerfile", | ||
"extensions": [ | ||
"ms-vscode.csharp" | ||
] | ||
} |
30 changes: 15 additions & 15 deletions
30
definitions/dotnetcore/.vscode/launch.json → ...itions/dotnetcore-2.2/.vscode/launch.json
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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": ".NET Core Launch (web)", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"program": "dotnet", | ||
"args": ["run"], | ||
"cwd": "${workspaceFolder}/test-project", | ||
} | ||
] | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": ".NET Core Launch (web)", | ||
"type": "coreclr", | ||
"request": "launch", | ||
"program": "dotnet", | ||
"args": ["run"], | ||
"cwd": "${workspaceFolder}/test-project", | ||
} | ||
] | ||
} |
6 changes: 3 additions & 3 deletions
6
definitions/dotnetcore/.vscode/settings.json → ...ions/dotnetcore-2.2/.vscode/settings.json
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
"razor.disabled": true | ||
} | ||
{ | ||
"razor.disabled": true | ||
} |
File renamed without changes.
5 changes: 2 additions & 3 deletions
5
...tions/dotnetcore/dev-container.dockerfile → ...s/dotnetcore-2.2/dev-container.dockerfile
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
52 changes: 26 additions & 26 deletions
52
...itions/dotnetcore/test-project/Program.cs → ...ns/dotnetcore-2.2/test-project/Program.cs
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 |
---|---|---|
@@ -1,27 +1,27 @@ | ||
using System; | ||
using System.Linq; | ||
using Microsoft.AspNetCore.Hosting; | ||
using Microsoft.AspNetCore.Builder; | ||
using Newtonsoft.Json; | ||
using Microsoft.AspNetCore.Http; | ||
using System.IO; | ||
|
||
namespace aspnetapp | ||
{ | ||
public class Program | ||
{ | ||
public static void Main(string[] args) | ||
{ | ||
var host = new WebHostBuilder() | ||
.UseKestrel() | ||
.UseUrls("http://0.0.0.0:8090") | ||
.Configure(app => app.Run(async context => { | ||
await context.Response.WriteAsync("Hello world from ASP.NET Core"); | ||
})) | ||
.Build(); | ||
|
||
host.Run(); | ||
} | ||
|
||
} | ||
using System; | ||
using System.Linq; | ||
using Microsoft.AspNetCore.Hosting; | ||
using Microsoft.AspNetCore.Builder; | ||
using Newtonsoft.Json; | ||
using Microsoft.AspNetCore.Http; | ||
using System.IO; | ||
|
||
namespace aspnetapp | ||
{ | ||
public class Program | ||
{ | ||
public static void Main(string[] args) | ||
{ | ||
var host = new WebHostBuilder() | ||
.UseKestrel() | ||
.UseUrls("http://0.0.0.0:8090") | ||
.Configure(app => app.Run(async context => { | ||
await context.Response.WriteAsync("Hello world from ASP.NET Core"); | ||
})) | ||
.Build(); | ||
|
||
host.Run(); | ||
} | ||
|
||
} | ||
} |
22 changes: 11 additions & 11 deletions
22
.../dotnetcore/test-project/aspnetapp.csproj → ...netcore-2.2/test-project/aspnetapp.csproj
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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
<Project Sdk="Microsoft.NET.Sdk.Web"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netcoreapp2.1</TargetFramework> | ||
<UserSecretsId>31051026529000467138</UserSecretsId> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.AspNetCore.App" /> | ||
</ItemGroup> | ||
|
||
<Project Sdk="Microsoft.NET.Sdk.Web"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netcoreapp2.1</TargetFramework> | ||
<UserSecretsId>31051026529000467138</UserSecretsId> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<PackageReference Include="Microsoft.AspNetCore.App" /> | ||
</ItemGroup> | ||
|
||
</Project> |
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
14 changes: 7 additions & 7 deletions
14
definitions/java/.vscode/devContainer.json → ...ns/java-8-maven/.vscode/devContainer.json
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 |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "Java", | ||
"dockerFile": "dev-container.dockerfile", | ||
"extensions": [ | ||
"vscjava.vscode-java-pack" | ||
] | ||
} | ||
{ | ||
"name": "Java", | ||
"dockerFile": "dev-container.dockerfile", | ||
"extensions": [ | ||
"vscjava.vscode-java-pack" | ||
] | ||
} |
28 changes: 14 additions & 14 deletions
28
definitions/java/.vscode/launch.json → definitions/java-8-maven/.vscode/launch.json
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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{ | ||
"configurations": [ | ||
{ | ||
"type": "java", | ||
"name": "Launch App", | ||
"request": "launch", | ||
"cwd": "${workspaceFolder}/test-project", | ||
"console": "internalConsole", | ||
"stopOnEntry": false, | ||
"mainClass": "com.mycompany.app.App", | ||
"args": "", | ||
"projectName": "my-app" | ||
} | ||
] | ||
{ | ||
"configurations": [ | ||
{ | ||
"type": "java", | ||
"name": "Launch App", | ||
"request": "launch", | ||
"cwd": "${workspaceFolder}/test-project", | ||
"console": "internalConsole", | ||
"stopOnEntry": false, | ||
"mainClass": "com.mycompany.app.App", | ||
"args": "", | ||
"projectName": "my-app" | ||
} | ||
] | ||
} |
File renamed without changes.
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 @@ | ||
FROM maven:3.6-jdk-8-slim | ||
|
||
# Install git | ||
RUN apt-get update && apt-get -y install git | ||
|
||
# Clean up | ||
RUN apt-get autoremove -y \ | ||
&& apt-get clean -y \ | ||
&& apt-get autoclean -y \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
Oops, something went wrong.