Skip to content

Commit

Permalink
Set the tag of Docker base image: Redis to 6-alpine
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
PeterDaveHello committed Aug 17, 2021
1 parent fd384ff commit e9a4af5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 ./
Expand Down

0 comments on commit e9a4af5

Please sign in to comment.