From 9ff9a676dbde6c43a3936e86b3054130e086c69a Mon Sep 17 00:00:00 2001 From: Wolfgang Walther Date: Wed, 21 Sep 2022 20:29:33 +0200 Subject: [PATCH] Add nss_wrapper to alpine images to run container with different user Signed-off-by: Wolfgang Walther --- 10/alpine/Dockerfile | 3 +++ 11/alpine/Dockerfile | 3 +++ 12/alpine/Dockerfile | 3 +++ 13/alpine/Dockerfile | 3 +++ 14/alpine/Dockerfile | 3 +++ 15/alpine/Dockerfile | 3 +++ Dockerfile-alpine.template | 3 +++ 7 files changed, 21 insertions(+) diff --git a/10/alpine/Dockerfile b/10/alpine/Dockerfile index 24a8d454df..b9c16acb10 100644 --- a/10/alpine/Dockerfile +++ b/10/alpine/Dockerfile @@ -120,8 +120,11 @@ RUN set -eux; \ | grep -v -e perl -e python -e tcl \ )"; \ apk add --no-cache --virtual .postgresql-rundeps \ + # nss_wrapper is currently only available in testing + --repository https://dl-cdn.alpinelinux.org/alpine/edge/testing \ $runDeps \ bash \ + nss_wrapper \ su-exec \ tzdata \ zstd \ diff --git a/11/alpine/Dockerfile b/11/alpine/Dockerfile index 2502ad1c29..5d04ed400e 100644 --- a/11/alpine/Dockerfile +++ b/11/alpine/Dockerfile @@ -122,8 +122,11 @@ RUN set -eux; \ | grep -v -e perl -e python -e tcl \ )"; \ apk add --no-cache --virtual .postgresql-rundeps \ + # nss_wrapper is currently only available in testing + --repository https://dl-cdn.alpinelinux.org/alpine/edge/testing \ $runDeps \ bash \ + nss_wrapper \ su-exec \ tzdata \ zstd \ diff --git a/12/alpine/Dockerfile b/12/alpine/Dockerfile index 3fb6202d5e..59ddd24b12 100644 --- a/12/alpine/Dockerfile +++ b/12/alpine/Dockerfile @@ -122,8 +122,11 @@ RUN set -eux; \ | grep -v -e perl -e python -e tcl \ )"; \ apk add --no-cache --virtual .postgresql-rundeps \ + # nss_wrapper is currently only available in testing + --repository https://dl-cdn.alpinelinux.org/alpine/edge/testing \ $runDeps \ bash \ + nss_wrapper \ su-exec \ tzdata \ zstd \ diff --git a/13/alpine/Dockerfile b/13/alpine/Dockerfile index e071ac9efc..d929c43839 100644 --- a/13/alpine/Dockerfile +++ b/13/alpine/Dockerfile @@ -122,8 +122,11 @@ RUN set -eux; \ | grep -v -e perl -e python -e tcl \ )"; \ apk add --no-cache --virtual .postgresql-rundeps \ + # nss_wrapper is currently only available in testing + --repository https://dl-cdn.alpinelinux.org/alpine/edge/testing \ $runDeps \ bash \ + nss_wrapper \ su-exec \ tzdata \ zstd \ diff --git a/14/alpine/Dockerfile b/14/alpine/Dockerfile index 6a83c457cc..c852b00c82 100644 --- a/14/alpine/Dockerfile +++ b/14/alpine/Dockerfile @@ -125,8 +125,11 @@ RUN set -eux; \ | grep -v -e perl -e python -e tcl \ )"; \ apk add --no-cache --virtual .postgresql-rundeps \ + # nss_wrapper is currently only available in testing + --repository https://dl-cdn.alpinelinux.org/alpine/edge/testing \ $runDeps \ bash \ + nss_wrapper \ su-exec \ tzdata \ zstd \ diff --git a/15/alpine/Dockerfile b/15/alpine/Dockerfile index e8a4f6df54..678a90e67e 100644 --- a/15/alpine/Dockerfile +++ b/15/alpine/Dockerfile @@ -128,8 +128,11 @@ RUN set -eux; \ | grep -v -e perl -e python -e tcl \ )"; \ apk add --no-cache --virtual .postgresql-rundeps \ + # nss_wrapper is currently only available in testing + --repository https://dl-cdn.alpinelinux.org/alpine/edge/testing \ $runDeps \ bash \ + nss_wrapper \ su-exec \ tzdata \ zstd \ diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index 75b6ec25cd..954d2187af 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -134,8 +134,11 @@ RUN set -eux; \ | grep -v -e perl -e python -e tcl \ )"; \ apk add --no-cache --virtual .postgresql-rundeps \ + # nss_wrapper is currently only available in testing + --repository https://dl-cdn.alpinelinux.org/alpine/edge/testing \ $runDeps \ bash \ + nss_wrapper \ su-exec \ tzdata \ zstd \