-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add .NET 10 Dockerfiles #6161
Merged
Merged
Add .NET 10 Dockerfiles #6161
Changes from 1 commit
Commits
Show all changes
45 commits
Select commit
Hold shift + click to select a range
7d3b69b
Fix update-dependencies for non-internal builds
lbussell bfe1ee1
Add placeholder 10.0 dockerfiles
lbussell ec20054
Update MCR tags metadata templates
lbussell 9720dab
Add .NET 10 entries to manifest
lbussell 468dd37
Remove .NET 10 Alpine 3.20 manifest entries
lbussell 0cf856d
Remove .NET 10 AOT images for now
lbussell 4a9c976
Move convenience tags to Ubuntu
lbussell d07c9f7
Sort Ubuntu to the beginning of each repo list since it has the lates…
lbussell d3e768c
Sort bookworm alphabetically
lbussell dda2598
Sort Azure Linux alphabetically
lbussell 1ce66c9
Fix tags metadata
lbussell a5e2aec
Add .NET 10 info to manifest.versions
lbussell 8dd5ca2
Generate readmes
lbussell 5f59d1d
Update .NET 10 shas and versions
lbussell 23f3279
Generate Dockerfiles
lbussell ee77174
Fix SDK checksums
lbussell 97c20d0
Add placeholder .NET 10 image sizes
lbussell 7452887
Add TestData
lbussell 9ee6c88
Update test NuGet config
lbussell b0faa8e
Add workaround for Powershell roll-forwards
lbussell 0e937f1
Remove non-existant .NET 10 images from nightly size report
lbussell a590379
Merge branch 'nightly' into net10
lbussell 5c968b5
Remove non-existant .NET 10 images from nightly size report
lbussell ae05cf7
Skip failing tests due to incoherent composite runtime build version
lbussell c24ab91
Add placeholder windows image sizes
lbussell 4f185a7
Put Windows .NET 10 preview tags in their own tables
lbussell 6460293
Inline sha file extension
lbussell 0f29a53
Use 9.0 Dockerfiles for .NET 10 runtime deps
lbussell 76d551d
Update readmes
lbussell 34cf8e6
Merge branch 'nightly' into net10
lbussell a89a4ba
Regenerate Dockerfiles
lbussell eebc17e
Remove 10.0 runtime deps Dockerfiles from size tests
lbussell b4d7d96
Experiment: try filtering builds based on product version
lbussell 5363318
Merge remote-tracking branch 'upstream/nightly' into net10
lbussell 5c56d2a
Filter builds better
lbussell 5fde5bc
Revert "Filter builds better"
lbussell ffacaa9
Revert "Experiment: try filtering builds based on product version"
lbussell c98f534
Revert "Use 9.0 Dockerfiles for .NET 10 runtime deps"
lbussell c3d09f0
Update readmes
lbussell 308c029
Update test for powershell distribution channel environment variable
lbussell b381ca8
Fix semantic error with skipping some composite runtime tests
lbussell 6976c2f
Refine environment variable tests for composite images with other var…
lbussell aebb50f
Add comment for PowerShell support on Alpine Arm
lbussell 8822370
Revert "Remove 10.0 runtime deps Dockerfiles from size tests"
lbussell 2bc26c9
Merge branch 'nightly' into net10
lbussell File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Revert "Use 9.0 Dockerfiles for .NET 10 runtime deps"
This reverts commit 0f29a53.
- Loading branch information
commit c98f534533f0e4dfefe8d464e16007ebc502581c
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
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,30 @@ | ||
FROM amd64/alpine:3.21 | ||
|
||
ENV \ | ||
# UID of the non-root user 'app' | ||
APP_UID=1654 \ | ||
# Configure web servers to bind to port 8080 when present | ||
ASPNETCORE_HTTP_PORTS=8080 \ | ||
# Enable detection of running in a container | ||
DOTNET_RUNNING_IN_CONTAINER=true | ||
|
||
RUN apk add --upgrade --no-cache \ | ||
ca-certificates-bundle \ | ||
\ | ||
# .NET dependencies | ||
icu-data-full \ | ||
icu-libs \ | ||
libgcc \ | ||
libssl3 \ | ||
libstdc++ \ | ||
tzdata | ||
|
||
# Create a non-root user and group | ||
RUN addgroup \ | ||
--gid=$APP_UID \ | ||
app \ | ||
&& adduser \ | ||
--uid=$APP_UID \ | ||
--ingroup=app \ | ||
--disabled-password \ | ||
app |
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,30 @@ | ||
FROM arm32v7/alpine:3.21 | ||
|
||
ENV \ | ||
# UID of the non-root user 'app' | ||
APP_UID=1654 \ | ||
# Configure web servers to bind to port 8080 when present | ||
ASPNETCORE_HTTP_PORTS=8080 \ | ||
# Enable detection of running in a container | ||
DOTNET_RUNNING_IN_CONTAINER=true | ||
|
||
RUN apk add --upgrade --no-cache \ | ||
ca-certificates-bundle \ | ||
\ | ||
# .NET dependencies | ||
icu-data-full \ | ||
icu-libs \ | ||
libgcc \ | ||
libssl3 \ | ||
libstdc++ \ | ||
tzdata | ||
|
||
# Create a non-root user and group | ||
RUN addgroup \ | ||
--gid=$APP_UID \ | ||
app \ | ||
&& adduser \ | ||
--uid=$APP_UID \ | ||
--ingroup=app \ | ||
--disabled-password \ | ||
app |
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,30 @@ | ||
FROM arm64v8/alpine:3.21 | ||
|
||
ENV \ | ||
# UID of the non-root user 'app' | ||
APP_UID=1654 \ | ||
# Configure web servers to bind to port 8080 when present | ||
ASPNETCORE_HTTP_PORTS=8080 \ | ||
# Enable detection of running in a container | ||
DOTNET_RUNNING_IN_CONTAINER=true | ||
|
||
RUN apk add --upgrade --no-cache \ | ||
ca-certificates-bundle \ | ||
\ | ||
# .NET dependencies | ||
icu-data-full \ | ||
icu-libs \ | ||
libgcc \ | ||
libssl3 \ | ||
libstdc++ \ | ||
tzdata | ||
|
||
# Create a non-root user and group | ||
RUN addgroup \ | ||
--gid=$APP_UID \ | ||
app \ | ||
&& adduser \ | ||
--uid=$APP_UID \ | ||
--ingroup=app \ | ||
--disabled-password \ | ||
app |
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,29 @@ | ||
FROM amd64/alpine:3.21 | ||
|
||
ENV \ | ||
# UID of the non-root user 'app' | ||
APP_UID=1654 \ | ||
# Configure web servers to bind to port 8080 when present | ||
ASPNETCORE_HTTP_PORTS=8080 \ | ||
# Enable detection of running in a container | ||
DOTNET_RUNNING_IN_CONTAINER=true \ | ||
# Set the invariant mode since ICU package isn't included (see https://github.com/dotnet/announcements/issues/20) | ||
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true | ||
|
||
RUN apk add --upgrade --no-cache \ | ||
ca-certificates-bundle \ | ||
\ | ||
# .NET dependencies | ||
libgcc \ | ||
libssl3 \ | ||
libstdc++ | ||
|
||
# Create a non-root user and group | ||
RUN addgroup \ | ||
--gid=$APP_UID \ | ||
app \ | ||
&& adduser \ | ||
--uid=$APP_UID \ | ||
--ingroup=app \ | ||
--disabled-password \ | ||
app |
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,29 @@ | ||
FROM arm32v7/alpine:3.21 | ||
|
||
ENV \ | ||
# UID of the non-root user 'app' | ||
APP_UID=1654 \ | ||
# Configure web servers to bind to port 8080 when present | ||
ASPNETCORE_HTTP_PORTS=8080 \ | ||
# Enable detection of running in a container | ||
DOTNET_RUNNING_IN_CONTAINER=true \ | ||
# Set the invariant mode since ICU package isn't included (see https://github.com/dotnet/announcements/issues/20) | ||
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true | ||
|
||
RUN apk add --upgrade --no-cache \ | ||
ca-certificates-bundle \ | ||
\ | ||
# .NET dependencies | ||
libgcc \ | ||
libssl3 \ | ||
libstdc++ | ||
|
||
# Create a non-root user and group | ||
RUN addgroup \ | ||
--gid=$APP_UID \ | ||
app \ | ||
&& adduser \ | ||
--uid=$APP_UID \ | ||
--ingroup=app \ | ||
--disabled-password \ | ||
app |
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,29 @@ | ||
FROM arm64v8/alpine:3.21 | ||
|
||
ENV \ | ||
# UID of the non-root user 'app' | ||
APP_UID=1654 \ | ||
# Configure web servers to bind to port 8080 when present | ||
ASPNETCORE_HTTP_PORTS=8080 \ | ||
# Enable detection of running in a container | ||
DOTNET_RUNNING_IN_CONTAINER=true \ | ||
# Set the invariant mode since ICU package isn't included (see https://github.com/dotnet/announcements/issues/20) | ||
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true | ||
|
||
RUN apk add --upgrade --no-cache \ | ||
ca-certificates-bundle \ | ||
\ | ||
# .NET dependencies | ||
libgcc \ | ||
libssl3 \ | ||
libstdc++ | ||
|
||
# Create a non-root user and group | ||
RUN addgroup \ | ||
--gid=$APP_UID \ | ||
app \ | ||
&& adduser \ | ||
--uid=$APP_UID \ | ||
--ingroup=app \ | ||
--disabled-password \ | ||
app |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are there any differences in these 10.0 runtime-deps Dockerfiles compared to 9.0? If not, then we should share the Dockerfiles from 9.0.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in 0f29a53