From 9573e1ab4106fcef47953354ddf8123390008802 Mon Sep 17 00:00:00 2001 From: Pixel Date: Mon, 27 May 2024 22:09:55 +0200 Subject: [PATCH] Add libstdc++ package to Dockerfiles --- corretto/11/Dockerfile | 2 ++ corretto/17/Dockerfile | 2 ++ corretto/21/Dockerfile | 2 ++ corretto/8/Dockerfile | 2 ++ temurin/11/Dockerfile | 2 ++ temurin/17/Dockerfile | 2 ++ temurin/21/Dockerfile | 2 ++ temurin/8/Dockerfile | 2 ++ zulu/11/Dockerfile | 2 ++ zulu/17/Dockerfile | 2 ++ zulu/21/Dockerfile | 2 ++ zulu/7/Dockerfile | 2 ++ zulu/8/Dockerfile | 2 ++ 13 files changed, 26 insertions(+) diff --git a/corretto/11/Dockerfile b/corretto/11/Dockerfile index 7cd5d98..cfcb57d 100644 --- a/corretto/11/Dockerfile +++ b/corretto/11/Dockerfile @@ -1,5 +1,7 @@ FROM amazoncorretto:11-alpine-jdk +RUN apk add --no-cache libstdc++ + USER container ENV USER=container HOME=/home/container WORKDIR /home/container diff --git a/corretto/17/Dockerfile b/corretto/17/Dockerfile index 37af9c3..07ff9e5 100644 --- a/corretto/17/Dockerfile +++ b/corretto/17/Dockerfile @@ -1,5 +1,7 @@ FROM amazoncorretto:17-alpine-jdk +RUN apk add --no-cache libstdc++ + USER container ENV USER=container HOME=/home/container WORKDIR /home/container diff --git a/corretto/21/Dockerfile b/corretto/21/Dockerfile index 5521341..d5ebdbb 100644 --- a/corretto/21/Dockerfile +++ b/corretto/21/Dockerfile @@ -1,5 +1,7 @@ FROM amazoncorretto:21-alpine-jdk +RUN apk add --no-cache libstdc++ + USER container ENV USER=container HOME=/home/container WORKDIR /home/container diff --git a/corretto/8/Dockerfile b/corretto/8/Dockerfile index 407284b..45710a6 100644 --- a/corretto/8/Dockerfile +++ b/corretto/8/Dockerfile @@ -1,5 +1,7 @@ FROM amazoncorretto:8-alpine-jre +RUN apk add --no-cache libstdc++ + USER container ENV USER=container HOME=/home/container WORKDIR /home/container diff --git a/temurin/11/Dockerfile b/temurin/11/Dockerfile index 1a6438e..04e8c6b 100644 --- a/temurin/11/Dockerfile +++ b/temurin/11/Dockerfile @@ -1,5 +1,7 @@ FROM eclipse-temurin:11-alpine +RUN apk add --no-cache libstdc++ + USER container ENV USER=container HOME=/home/container WORKDIR /home/container diff --git a/temurin/17/Dockerfile b/temurin/17/Dockerfile index 1d86080..8cfdb4c 100644 --- a/temurin/17/Dockerfile +++ b/temurin/17/Dockerfile @@ -1,5 +1,7 @@ FROM eclipse-temurin:17-alpine +RUN apk add --no-cache libstdc++ + USER container ENV USER=container HOME=/home/container WORKDIR /home/container diff --git a/temurin/21/Dockerfile b/temurin/21/Dockerfile index 2abb76c..6ed5e6f 100644 --- a/temurin/21/Dockerfile +++ b/temurin/21/Dockerfile @@ -1,5 +1,7 @@ FROM eclipse-temurin:21-alpine +RUN apk add --no-cache libstdc++ + USER container ENV USER=container HOME=/home/container WORKDIR /home/container diff --git a/temurin/8/Dockerfile b/temurin/8/Dockerfile index e7254a4..d1d640e 100644 --- a/temurin/8/Dockerfile +++ b/temurin/8/Dockerfile @@ -1,5 +1,7 @@ FROM eclipse-temurin:8-alpine +RUN apk add --no-cache libstdc++ + USER container ENV USER=container HOME=/home/container WORKDIR /home/container diff --git a/zulu/11/Dockerfile b/zulu/11/Dockerfile index 45aed96..4efd00a 100644 --- a/zulu/11/Dockerfile +++ b/zulu/11/Dockerfile @@ -1,5 +1,7 @@ FROM azul/zulu-openjdk-alpine:11-latest +RUN apk add --no-cache libstdc++ + USER container ENV USER=container HOME=/home/container WORKDIR /home/container diff --git a/zulu/17/Dockerfile b/zulu/17/Dockerfile index ef05314..5eeff1e 100644 --- a/zulu/17/Dockerfile +++ b/zulu/17/Dockerfile @@ -1,5 +1,7 @@ FROM azul/zulu-openjdk-alpine:17-latest +RUN apk add --no-cache libstdc++ + USER container ENV USER=container HOME=/home/container WORKDIR /home/container diff --git a/zulu/21/Dockerfile b/zulu/21/Dockerfile index ca134a7..c3109b4 100644 --- a/zulu/21/Dockerfile +++ b/zulu/21/Dockerfile @@ -1,5 +1,7 @@ FROM azul/zulu-openjdk-alpine:21-latest +RUN apk add --no-cache libstdc++ + USER container ENV USER=container HOME=/home/container WORKDIR /home/container diff --git a/zulu/7/Dockerfile b/zulu/7/Dockerfile index 5a9a4f0..c5dda06 100644 --- a/zulu/7/Dockerfile +++ b/zulu/7/Dockerfile @@ -1,5 +1,7 @@ FROM azul/zulu-openjdk-alpine:7-latest +RUN apk add --no-cache libstdc++ + USER container ENV USER=container HOME=/home/container WORKDIR /home/container diff --git a/zulu/8/Dockerfile b/zulu/8/Dockerfile index a3dc156..abc0182 100644 --- a/zulu/8/Dockerfile +++ b/zulu/8/Dockerfile @@ -1,5 +1,7 @@ FROM azul/zulu-openjdk-alpine:8-latest +RUN apk add --no-cache libstdc++ + USER container ENV USER=container HOME=/home/container WORKDIR /home/container