From 6c37fa253d2b605e3e605ac9bd153a89908b01bb Mon Sep 17 00:00:00 2001 From: Pascal Berger Date: Fri, 16 Aug 2024 11:08:54 +0200 Subject: [PATCH] Use ADD instead of Curl --- Dockerfile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 39f95f8..cd977e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,10 +22,11 @@ RUN apt-get update -y && \ | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg && \ NODE_MAJOR=20 && \ echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_MAJOR.x nodistro main" \ - | tee /etc/apt/sources.list.d/nodesource.list && \ - # Add .NET PPA - curl --proto "=https" -o /tmp/packages-microsoft-prod.deb https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb && \ - dpkg -i /tmp/packages-microsoft-prod.deb && \ + | tee /etc/apt/sources.list.d/nodesource.list + +# Add .NET PPA +ADD https://packages.microsoft.com/config/debian/12/packages-microsoft-prod.deb /tmp/packages-microsoft-prod.deb +RUN dpkg -i /tmp/packages-microsoft-prod.deb && \ rm -rf /tmp/*