.NET Core Runtime only on LinuxWhat is “.NET Core”?What's the difference between .NET Core, .NET Framework, and Xamarin?Specify runtime for self container .Net Core app in DockerWhat is the difference between .NET Core and .NET Standard Class Library project types?Build .NET Core console application to output an EXE?.NET Standard vs .NET Coreef-core Add-Migration not workingMicrosoft Dynamics 365 SDK Core Assemblies .NET Core Porting Error.NET Core - cross-platform deployment and usageUnable to create a new .Net Core console app
Is the "cosmological constant tension" the prime reason that we believe the expansion of the universe is accelerating?
What is the meaning of "you has the wind of me"?
Explanation for a joke about a three-legged dog that walks into a bar
How important is a good quality camera for good photography?
What do I do when a student working in my lab "ghosts" me?
expansion with *.txt in the shell doesn't work if no .txt file exists
Using "Kollege" as "university friend"?
Are the Cavalier's uses of Unwavering Mark or uses of the bonus attack granted limited per long rest?
Why are off grid solar setups only 12, 24, 48 VDC?
(1 of 11: Numberlink) What is Pyramid Cult's Favorite Activity?
How to copy a file transactionally?
Character is called by their first initial. How do I write it?
Do the licences permit GPL- and BSD-licensed applications to be used for government work?
What to do when you reach a conclusion and find out later on that someone else already did?
What causes long-running disputes over sovereignty?
How were the LM astronauts supported during the moon landing and ascent? What were the max G's on them during these phases?
Grid/table with lots of buttons
Can two figures have the same area, perimeter, and same number of segments have different shape?
Why isn't there a serious attempt at creating a third mass-appeal party in the US?
Which Roman general was killed by his own soldiers for not letting them to loot a newly conquered city?
What is the difference between 1/3, 1/2, and full casters?
Why is chess failing to attract big name sponsors?
Iterate over non-const variables in C++
This message is flooding my syslog, how to find where it comes from?
.NET Core Runtime only on Linux
What is “.NET Core”?What's the difference between .NET Core, .NET Framework, and Xamarin?Specify runtime for self container .Net Core app in DockerWhat is the difference between .NET Core and .NET Standard Class Library project types?Build .NET Core console application to output an EXE?.NET Standard vs .NET Coreef-core Add-Migration not workingMicrosoft Dynamics 365 SDK Core Assemblies .NET Core Porting Error.NET Core - cross-platform deployment and usageUnable to create a new .Net Core console app
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I'm trying to figure out a deployment strategy for our RHEL server with .NET Core microservices.
I was hoping that we could use a .NET Core runtime on our production systems rather than an "SDK" version. The idea being that the runtime has less of an attack surface than perhaps the SDK would.
When I investigate the two options it seems I am downloading the exact same package:
yum install rh-dotnet22 -y
Why does Microsoft even bother making the distinction here? Is there something I'm unaware of? Is there a way to get runtimes only as opposed to SDKs?
security .net-core rhel
add a comment |
I'm trying to figure out a deployment strategy for our RHEL server with .NET Core microservices.
I was hoping that we could use a .NET Core runtime on our production systems rather than an "SDK" version. The idea being that the runtime has less of an attack surface than perhaps the SDK would.
When I investigate the two options it seems I am downloading the exact same package:
yum install rh-dotnet22 -y
Why does Microsoft even bother making the distinction here? Is there something I'm unaware of? Is there a way to get runtimes only as opposed to SDKs?
security .net-core rhel
Bit of a tangent, but if you are looking for "microservices", you probably want to use containers? And there are Red Hat-supported containers available: access.redhat.com/documentation/en-us/net_core/2.2/html/…
– Omair Majid
Mar 26 at 20:05
add a comment |
I'm trying to figure out a deployment strategy for our RHEL server with .NET Core microservices.
I was hoping that we could use a .NET Core runtime on our production systems rather than an "SDK" version. The idea being that the runtime has less of an attack surface than perhaps the SDK would.
When I investigate the two options it seems I am downloading the exact same package:
yum install rh-dotnet22 -y
Why does Microsoft even bother making the distinction here? Is there something I'm unaware of? Is there a way to get runtimes only as opposed to SDKs?
security .net-core rhel
I'm trying to figure out a deployment strategy for our RHEL server with .NET Core microservices.
I was hoping that we could use a .NET Core runtime on our production systems rather than an "SDK" version. The idea being that the runtime has less of an attack surface than perhaps the SDK would.
When I investigate the two options it seems I am downloading the exact same package:
yum install rh-dotnet22 -y
Why does Microsoft even bother making the distinction here? Is there something I'm unaware of? Is there a way to get runtimes only as opposed to SDKs?
security .net-core rhel
security .net-core rhel
edited Mar 26 at 17:01
Matthew
17.6k5 gold badges52 silver badges83 bronze badges
17.6k5 gold badges52 silver badges83 bronze badges
asked Mar 26 at 16:28
James ScottJames Scott
3403 silver badges17 bronze badges
3403 silver badges17 bronze badges
Bit of a tangent, but if you are looking for "microservices", you probably want to use containers? And there are Red Hat-supported containers available: access.redhat.com/documentation/en-us/net_core/2.2/html/…
– Omair Majid
Mar 26 at 20:05
add a comment |
Bit of a tangent, but if you are looking for "microservices", you probably want to use containers? And there are Red Hat-supported containers available: access.redhat.com/documentation/en-us/net_core/2.2/html/…
– Omair Majid
Mar 26 at 20:05
Bit of a tangent, but if you are looking for "microservices", you probably want to use containers? And there are Red Hat-supported containers available: access.redhat.com/documentation/en-us/net_core/2.2/html/…
– Omair Majid
Mar 26 at 20:05
Bit of a tangent, but if you are looking for "microservices", you probably want to use containers? And there are Red Hat-supported containers available: access.redhat.com/documentation/en-us/net_core/2.2/html/…
– Omair Majid
Mar 26 at 20:05
add a comment |
2 Answers
2
active
oldest
votes
yum install rh-dotnet22-dotnet-runtime-2.2
This should do what you want. I will try and work with Microsoft to get the docs updated and I will ask our RHEL 7 docs to be updated too.
Thank you I'm going to try this now :-)
– James Scott
Mar 26 at 17:57
Thanks again for this info! You saved me and the team alot of time. WOW.
– James Scott
Mar 26 at 19:38
add a comment |
The distinction is what you say, if you just want to run applications you can install just the runtime.
If you want to build applications, you can install the SDK, which also includes the runtime.
On the website it does indeed look like both refer to the same package:
https://dotnet.microsoft.com/download/linux-package-manager/rhel/sdk-current
https://dotnet.microsoft.com/download/linux-package-manager/rhel/runtime-current
Either they messed up the instructions, or they just offer the one.
Looking at the Dockerfile
for a RHEL dotnet runtime container you can see the steps required to install the runtime only:
https://github.com/redhat-developer/s2i-dotnetcore/blob/f344b26d956638600302b115fcc6693682f592b2/2.2/runtime/Dockerfile.rhel7#L51
The package for the runtime only looks to be rh-dotnet22-dotnet-runtime-2.2
, but I'm not familiar with RHEL so I can't tell you whether that's all you need.
EDIT:
Updated link with input from Omair Majid
thanks for the quick response. When I look at that example Dockerfile it seems its pulling from a CentOS image. When reviewing the instructions from Red Hat side of things it recommends microservices based off of their rhel base image... I'm going to keep digging around and see what else I learn... To be clear: We are using bare-metal services at this point, and not containers but ya the concept should definitely apply... Maybe I can find more info from their Dockerfile (if there is one)
– James Scott
Mar 26 at 17:27
Just add a.rhel7
suffix to the dockerfile link: github.com/redhat-developer/s2i-dotnetcore/blob/… to see the version based on RHEL container images.
– Omair Majid
Mar 26 at 17:32
add a comment |
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55361976%2fnet-core-runtime-only-on-linux%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
yum install rh-dotnet22-dotnet-runtime-2.2
This should do what you want. I will try and work with Microsoft to get the docs updated and I will ask our RHEL 7 docs to be updated too.
Thank you I'm going to try this now :-)
– James Scott
Mar 26 at 17:57
Thanks again for this info! You saved me and the team alot of time. WOW.
– James Scott
Mar 26 at 19:38
add a comment |
yum install rh-dotnet22-dotnet-runtime-2.2
This should do what you want. I will try and work with Microsoft to get the docs updated and I will ask our RHEL 7 docs to be updated too.
Thank you I'm going to try this now :-)
– James Scott
Mar 26 at 17:57
Thanks again for this info! You saved me and the team alot of time. WOW.
– James Scott
Mar 26 at 19:38
add a comment |
yum install rh-dotnet22-dotnet-runtime-2.2
This should do what you want. I will try and work with Microsoft to get the docs updated and I will ask our RHEL 7 docs to be updated too.
yum install rh-dotnet22-dotnet-runtime-2.2
This should do what you want. I will try and work with Microsoft to get the docs updated and I will ask our RHEL 7 docs to be updated too.
answered Mar 26 at 17:39
Omair MajidOmair Majid
4,51422 silver badges34 bronze badges
4,51422 silver badges34 bronze badges
Thank you I'm going to try this now :-)
– James Scott
Mar 26 at 17:57
Thanks again for this info! You saved me and the team alot of time. WOW.
– James Scott
Mar 26 at 19:38
add a comment |
Thank you I'm going to try this now :-)
– James Scott
Mar 26 at 17:57
Thanks again for this info! You saved me and the team alot of time. WOW.
– James Scott
Mar 26 at 19:38
Thank you I'm going to try this now :-)
– James Scott
Mar 26 at 17:57
Thank you I'm going to try this now :-)
– James Scott
Mar 26 at 17:57
Thanks again for this info! You saved me and the team alot of time. WOW.
– James Scott
Mar 26 at 19:38
Thanks again for this info! You saved me and the team alot of time. WOW.
– James Scott
Mar 26 at 19:38
add a comment |
The distinction is what you say, if you just want to run applications you can install just the runtime.
If you want to build applications, you can install the SDK, which also includes the runtime.
On the website it does indeed look like both refer to the same package:
https://dotnet.microsoft.com/download/linux-package-manager/rhel/sdk-current
https://dotnet.microsoft.com/download/linux-package-manager/rhel/runtime-current
Either they messed up the instructions, or they just offer the one.
Looking at the Dockerfile
for a RHEL dotnet runtime container you can see the steps required to install the runtime only:
https://github.com/redhat-developer/s2i-dotnetcore/blob/f344b26d956638600302b115fcc6693682f592b2/2.2/runtime/Dockerfile.rhel7#L51
The package for the runtime only looks to be rh-dotnet22-dotnet-runtime-2.2
, but I'm not familiar with RHEL so I can't tell you whether that's all you need.
EDIT:
Updated link with input from Omair Majid
thanks for the quick response. When I look at that example Dockerfile it seems its pulling from a CentOS image. When reviewing the instructions from Red Hat side of things it recommends microservices based off of their rhel base image... I'm going to keep digging around and see what else I learn... To be clear: We are using bare-metal services at this point, and not containers but ya the concept should definitely apply... Maybe I can find more info from their Dockerfile (if there is one)
– James Scott
Mar 26 at 17:27
Just add a.rhel7
suffix to the dockerfile link: github.com/redhat-developer/s2i-dotnetcore/blob/… to see the version based on RHEL container images.
– Omair Majid
Mar 26 at 17:32
add a comment |
The distinction is what you say, if you just want to run applications you can install just the runtime.
If you want to build applications, you can install the SDK, which also includes the runtime.
On the website it does indeed look like both refer to the same package:
https://dotnet.microsoft.com/download/linux-package-manager/rhel/sdk-current
https://dotnet.microsoft.com/download/linux-package-manager/rhel/runtime-current
Either they messed up the instructions, or they just offer the one.
Looking at the Dockerfile
for a RHEL dotnet runtime container you can see the steps required to install the runtime only:
https://github.com/redhat-developer/s2i-dotnetcore/blob/f344b26d956638600302b115fcc6693682f592b2/2.2/runtime/Dockerfile.rhel7#L51
The package for the runtime only looks to be rh-dotnet22-dotnet-runtime-2.2
, but I'm not familiar with RHEL so I can't tell you whether that's all you need.
EDIT:
Updated link with input from Omair Majid
thanks for the quick response. When I look at that example Dockerfile it seems its pulling from a CentOS image. When reviewing the instructions from Red Hat side of things it recommends microservices based off of their rhel base image... I'm going to keep digging around and see what else I learn... To be clear: We are using bare-metal services at this point, and not containers but ya the concept should definitely apply... Maybe I can find more info from their Dockerfile (if there is one)
– James Scott
Mar 26 at 17:27
Just add a.rhel7
suffix to the dockerfile link: github.com/redhat-developer/s2i-dotnetcore/blob/… to see the version based on RHEL container images.
– Omair Majid
Mar 26 at 17:32
add a comment |
The distinction is what you say, if you just want to run applications you can install just the runtime.
If you want to build applications, you can install the SDK, which also includes the runtime.
On the website it does indeed look like both refer to the same package:
https://dotnet.microsoft.com/download/linux-package-manager/rhel/sdk-current
https://dotnet.microsoft.com/download/linux-package-manager/rhel/runtime-current
Either they messed up the instructions, or they just offer the one.
Looking at the Dockerfile
for a RHEL dotnet runtime container you can see the steps required to install the runtime only:
https://github.com/redhat-developer/s2i-dotnetcore/blob/f344b26d956638600302b115fcc6693682f592b2/2.2/runtime/Dockerfile.rhel7#L51
The package for the runtime only looks to be rh-dotnet22-dotnet-runtime-2.2
, but I'm not familiar with RHEL so I can't tell you whether that's all you need.
EDIT:
Updated link with input from Omair Majid
The distinction is what you say, if you just want to run applications you can install just the runtime.
If you want to build applications, you can install the SDK, which also includes the runtime.
On the website it does indeed look like both refer to the same package:
https://dotnet.microsoft.com/download/linux-package-manager/rhel/sdk-current
https://dotnet.microsoft.com/download/linux-package-manager/rhel/runtime-current
Either they messed up the instructions, or they just offer the one.
Looking at the Dockerfile
for a RHEL dotnet runtime container you can see the steps required to install the runtime only:
https://github.com/redhat-developer/s2i-dotnetcore/blob/f344b26d956638600302b115fcc6693682f592b2/2.2/runtime/Dockerfile.rhel7#L51
The package for the runtime only looks to be rh-dotnet22-dotnet-runtime-2.2
, but I'm not familiar with RHEL so I can't tell you whether that's all you need.
EDIT:
Updated link with input from Omair Majid
edited Mar 26 at 18:55
answered Mar 26 at 16:51
MatthewMatthew
17.6k5 gold badges52 silver badges83 bronze badges
17.6k5 gold badges52 silver badges83 bronze badges
thanks for the quick response. When I look at that example Dockerfile it seems its pulling from a CentOS image. When reviewing the instructions from Red Hat side of things it recommends microservices based off of their rhel base image... I'm going to keep digging around and see what else I learn... To be clear: We are using bare-metal services at this point, and not containers but ya the concept should definitely apply... Maybe I can find more info from their Dockerfile (if there is one)
– James Scott
Mar 26 at 17:27
Just add a.rhel7
suffix to the dockerfile link: github.com/redhat-developer/s2i-dotnetcore/blob/… to see the version based on RHEL container images.
– Omair Majid
Mar 26 at 17:32
add a comment |
thanks for the quick response. When I look at that example Dockerfile it seems its pulling from a CentOS image. When reviewing the instructions from Red Hat side of things it recommends microservices based off of their rhel base image... I'm going to keep digging around and see what else I learn... To be clear: We are using bare-metal services at this point, and not containers but ya the concept should definitely apply... Maybe I can find more info from their Dockerfile (if there is one)
– James Scott
Mar 26 at 17:27
Just add a.rhel7
suffix to the dockerfile link: github.com/redhat-developer/s2i-dotnetcore/blob/… to see the version based on RHEL container images.
– Omair Majid
Mar 26 at 17:32
thanks for the quick response. When I look at that example Dockerfile it seems its pulling from a CentOS image. When reviewing the instructions from Red Hat side of things it recommends microservices based off of their rhel base image... I'm going to keep digging around and see what else I learn... To be clear: We are using bare-metal services at this point, and not containers but ya the concept should definitely apply... Maybe I can find more info from their Dockerfile (if there is one)
– James Scott
Mar 26 at 17:27
thanks for the quick response. When I look at that example Dockerfile it seems its pulling from a CentOS image. When reviewing the instructions from Red Hat side of things it recommends microservices based off of their rhel base image... I'm going to keep digging around and see what else I learn... To be clear: We are using bare-metal services at this point, and not containers but ya the concept should definitely apply... Maybe I can find more info from their Dockerfile (if there is one)
– James Scott
Mar 26 at 17:27
Just add a
.rhel7
suffix to the dockerfile link: github.com/redhat-developer/s2i-dotnetcore/blob/… to see the version based on RHEL container images.– Omair Majid
Mar 26 at 17:32
Just add a
.rhel7
suffix to the dockerfile link: github.com/redhat-developer/s2i-dotnetcore/blob/… to see the version based on RHEL container images.– Omair Majid
Mar 26 at 17:32
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55361976%2fnet-core-runtime-only-on-linux%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Bit of a tangent, but if you are looking for "microservices", you probably want to use containers? And there are Red Hat-supported containers available: access.redhat.com/documentation/en-us/net_core/2.2/html/…
– Omair Majid
Mar 26 at 20:05