From b9ab319357bad04206ff4df8e805ae05965c4018 Mon Sep 17 00:00:00 2001 From: szaimen Date: Wed, 9 Feb 2022 19:46:31 +0100 Subject: [PATCH] migrate redis container to alppine Signed-off-by: szaimen --- Containers/redis/Dockerfile | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/Containers/redis/Dockerfile b/Containers/redis/Dockerfile index f7147156..b8c59529 100644 --- a/Containers/redis/Dockerfile +++ b/Containers/redis/Dockerfile @@ -1,13 +1,7 @@ -# From https://github.com/docker-library/redis/blob/master/6.2/Dockerfile -FROM redis:6.2-bullseye +# From https://github.com/docker-library/redis/blob/master/6.2/alpine/Dockerfile +FROM redis:6.2-alpine -RUN set -ex; \ - \ - apt-get update; \ - apt-get install -y --no-install-recommends \ - openssl \ - ; \ - rm -rf /var/lib/apt/lists/* +RUN apk add --update --no-cache openssl bash COPY start.sh /usr/bin/ RUN chmod +x /usr/bin/start.sh