-
Notifications
You must be signed in to change notification settings - Fork 2.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
5 changed files
with
16 additions
and
16 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
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
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,10 @@ | ||
# This Docker file is intended for the CI | ||
# A prerequisite is a published application in the .build/release | ||
|
||
FROM mcr.microsoft.com/dotnet/aspnet:8.0-nanoserver-1809 | ||
|
||
EXPOSE 80 | ||
ENV ASPNETCORE_URLS http://+:80 | ||
WORKDIR /app | ||
COPY .build/release /app | ||
ENTRYPOINT ["dotnet", "OrchardCore.Cms.Web.dll"] |
ed99129
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.
@jtkech we could have done a simpler approach by providing the image name as a parameter and kept a single file. However, take a look at the comment from @sebastienros about general purpose docker #14707 (comment)
ed99129
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.
Yes, just wanted to check that the issue was only related to the referenced image.
Also thinking that's a temporary issue.
ed99129
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.
Yes, being able to use
TARGETPLATFORM
andBUILDPLATFORM
would be good, looks like we would need to use thebuildx
command but maybe the dockerbuild
command already usesbuildx
by default, or not depending on the docker version we are using.When I will have time I will do a testing PR with a custom github action to check if these dynamic properties can be used.