How to add libmsquic
to container images
#4823
Replies: 3 comments 2 replies
-
What is the advantage of using a multi-stage dockerfile versus downloading the package and installing it in a singe stage? |
Beta Was this translation helpful? Give feedback.
-
Hi, FROM scratch AS installer FROM mcr.microsoft.com/dotnet/runtime:7.0-jammy AS base I even tried with your docker file and started the container in interactive mode and tried to find libmsquic with following commands, it does not found it: |
Beta Was this translation helpful? Give feedback.
-
For reference half of that is a For anyone else interested in using the smaller For The end result was 270MB |
Beta Was this translation helpful? Give feedback.
-
Here is a quick POC for adding
libmsquic
to container images. This Dockerfile was created to determine the cost oflibmsquic
. It is about 14MB (as demonstrated by this Dockerfile). Sharing in case it is useful for others.Beta Was this translation helpful? Give feedback.
All reactions