/Dockerfile Secret
Last active
August 16, 2023 21:47
Dockerfile -- Add libmsquic
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
#syntax=docker/dockerfile:1 | |
FROM scratch AS installer | |
ADD https://packages.microsoft.com/config/ubuntu/22.04/packages-microsoft-prod.deb / | |
FROM mcr.microsoft.com/dotnet/runtime-deps:8.0-preview-jammy | |
RUN --mount=from=installer,source=/packages-microsoft-prod.deb,target=/packages-microsoft-prod.deb \ | |
<<EOF | |
set -e | |
dpkg -i packages-microsoft-prod.deb | |
apt update | |
apt install -y libmsquic | |
apt remove -y packages-microsoft-prod | |
rm -rf /var/lib/apt/lists/* | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is the cost of adding
libmsquic
.It is: 130MB as compared to 116MB. So, +14MB. Other baseline sizes are also listed.