From 038fe49a7c3eba5d9147768c4fd91cd029dfe9bc Mon Sep 17 00:00:00 2001 From: Mario Ranftl Date: Thu, 27 Apr 2023 17:04:25 +0200 Subject: [PATCH] debian apt --- Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b03f06414cb..4707ea561df 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,9 @@ FROM maven:3.9.1-eclipse-temurin-11 RUN set -x \ - && apk update && apk upgrade \ - && apk add --no-cache bash ca-certificates + && apt-get update && apt-get install -y -q --no-install-recommends \ + bash ca-certificates \ + && rm -rf /var/lib/apt/lists/* ENV GEN_DIR /opt/swagger-codegen WORKDIR ${GEN_DIR}