From 739eb12bed4921eba52f8dfba1faffbfd23ef8f8 Mon Sep 17 00:00:00 2001 From: Peter Dave Hello Date: Thu, 19 Aug 2021 01:39:57 +0800 Subject: [PATCH] Set the tag of Docker base image: Redis to 6-alpine (#427) Redis 6.0.4 is a little bit dated, there are some security updates in the futures versions. Set the image tag to 6-alpine, instead of 6.0.15-alpine or 6.2.5-alpine, so that we don't need to manually follow the minor and patch versions manually, will be more convenient. (Could use with `--pull` parameter when building the image, so that Docker will always check the latest 6-alpine) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 33eef4a..49fb5d5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN nimble build -y -d:release --passC:"-flto" --passL:"-flto" \ && strip -s nitter \ && nimble scss -FROM redis:6.0.4-alpine +FROM redis:6-alpine WORKDIR /src/ RUN apk --no-cache add pcre-dev sqlite-dev COPY --from=nim /src/nitter/nitter /src/nitter/start.sh /src/nitter/nitter.conf ./