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
# Installer image | |
FROM arm32v7/buildpack-deps:jammy-curl AS installer | |
# Install .NET SDK | |
RUN curl -fSL --output dotnet.tar.gz https://dotnetcli.azureedge.net/dotnet/Sdk/8.0.204/dotnet-sdk-8.0.204-linux-arm.tar.gz \ | |
&& mkdir -p /usr/share/dotnet \ | |
&& tar -oxzf dotnet.tar.gz -C /usr/share/dotnet \ | |
&& rm dotnet.tar.gz | |
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
#!/usr/bin/env pwsh | |
[CmdletBinding()] | |
param ( | |
[Parameter(Mandatory=$true)] | |
[string]$buildId | |
) | |
$configPath = "$PSScriptRoot/config.json"; | |
$setVersionsScript = "$PSScriptRoot/Set-DotnetVersions.ps1" |
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
{ | |
"background": "#000000", | |
"black": "#310105", | |
"blue": "#56A1D9", | |
"brightBlack": "#B8B8B8", | |
"brightBlue": "#41D5E1", | |
"brightCyan": "#41D5E1", | |
"brightGreen": "#6FFFB5", | |
"brightPurple": "#56288D", | |
"brightRed": "#E74856", |
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
# Installer image | |
FROM amd64/buildpack-deps:bookworm-curl AS installer | |
# Retrieve .NET Runtime | |
RUN aspnetcore_version=8.0.0-preview.3.23170.14 \ | |
&& curl -fSL --output dotnet.tar.gz https://dotnetbuilds.azureedge.net/public/aspnetcore/Runtime/$aspnetcore_version/aspnetcore-runtime-composite-$aspnetcore_version-linux-x64.tar.gz \ | |
&& dotnet_sha512='06a24a0992645757e471d6bd6244328e9f0a352ad198697c97136c997f5bfcc6b947f2e896dc3bd69590781a1befc0ec5531859b4e25456b97a24320bcacd42a' \ | |
&& echo "$dotnet_sha512 dotnet.tar.gz" | sha512sum -c - \ | |
&& mkdir -p /dotnet \ | |
&& tar -oxzf dotnet.tar.gz -C /dotnet \ |
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
#!/bin/bash | |
set -euxo pipefail | |
RELEASE_CHANNEL="7.0" | |
RUNTIME_VERSION="7.0.X" | |
SDK_VERSION="7.0.1XX" | |
vmr_path="vmr" | |
dnceng_url="valid git url" | |
destination_url="valid git url" |
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
#!/bin/bash | |
set -euxo pipefail | |
query='query { | |
repository(name: \"source-build\", owner: \"dotnet\") { | |
discussions( | |
categoryId: \"DIC_kwDOA-dPNs4CBKbO\", | |
first: 10, | |
orderBy: {field: UPDATED_AT, direction: DESC} | |
) { |
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
#!/bin/bash | |
# Extracts the dotnet source and commtis it to your $VMR repo | |
# Usage: ./update-vmr.sh dotnet-sdk-source.tar.gz 6.0.108 | |
# make sure you set $VMR to your git repo: | |
# export VMR=/home/logan/vcs/VMR/dotnet | |
set -euxo pipefail |
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
<Project Sdk="Microsoft.NET.Sdk"> | |
<PropertyGroup> | |
<OutputType>Exe</OutputType> | |
<TargetFramework>net7.0</TargetFramework> | |
<ImplicitUsings>enable</ImplicitUsings> | |
<Nullable>enable</Nullable> | |
<RestorePackagesPath>$(MSBuildThisFileDirectory)/restored/</RestorePackagesPath> | |
<PackageVersionToDownload>6.0.12</PackageVersionToDownload> | |
</PropertyGroup> |
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
#!/bin/bash | |
# Use this in a directory with: | |
# * x64 prereqs | |
# * arm64 prereqs | |
# * any extra nupkgs that you want to add | |
set -euxo pipefail | |
mkdir x64 |
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
#!/bin/bash | |
set -euxo pipefail | |
# Example: ./rebuild.sh msbuild | |
semaphores=( | |
"CreateBuildOutputProps.complete", | |
"CreateCombinedRestoreSourceAndVersionProps.complete", | |
"UpdateNuGetConfig.complete", | |
"CopyPackage.complete", |
NewerOlder