From 549646153fa764555cf4b8a4b444d06d7a798813 Mon Sep 17 00:00:00 2001 From: Giovanni Rosa Date: Wed, 12 Apr 2023 12:20:50 +0200 Subject: [PATCH] Fix for Dockerfile smell DL3008 Signed-off-by: Giovanni Rosa --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 83d0f47..3287301 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM eclipse-temurin:17-jre-focal as flyway RUN apt-get update \ - && apt-get install -y python3-pip \ + && apt-get install -y python3-pip=20.0.* \ && pip3 install sqlfluff==1.2.1 WORKDIR /flyway @@ -27,6 +27,6 @@ RUN curl -L https://packages.microsoft.com/config/ubuntu/21.04/packages-microsof && dpkg -i packages-microsoft-prod.deb \ && rm packages-microsoft-prod.deb RUN apt-get update \ - && apt-get install -y apt-transport-https \ + && apt-get install -y apt-transport-https=2.0.* \ && apt-get update \ && apt-get install -y dotnet-runtime-6.0