Skip to content

Commit

Permalink
Merge pull request redis#162 from infosiftr/alpine-tzdata
Browse files Browse the repository at this point in the history
Add "tzdata" to Alpine variants for logging timestamp timezone fixes
  • Loading branch information
yosifkit committed Sep 4, 2018
2 parents 7900c5d + f71b77c commit f11a90d
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion 3.2/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ FROM alpine:3.8
# add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
RUN addgroup -S redis && adduser -S -G redis redis

RUN apk add --no-cache \
# grab su-exec for easy step-down from root
RUN apk add --no-cache 'su-exec>=0.2'
'su-exec>=0.2' \
# add tzdata for https://github.com/docker-library/redis/issues/138
tzdata

ENV REDIS_VERSION 3.2.12
ENV REDIS_DOWNLOAD_URL http://download.redis.io/releases/redis-3.2.12.tar.gz
Expand Down
5 changes: 4 additions & 1 deletion 4.0/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ FROM alpine:3.8
# add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
RUN addgroup -S redis && adduser -S -G redis redis

RUN apk add --no-cache \
# grab su-exec for easy step-down from root
RUN apk add --no-cache 'su-exec>=0.2'
'su-exec>=0.2' \
# add tzdata for https://github.com/docker-library/redis/issues/138
tzdata

ENV REDIS_VERSION 4.0.11
ENV REDIS_DOWNLOAD_URL http://download.redis.io/releases/redis-4.0.11.tar.gz
Expand Down
5 changes: 4 additions & 1 deletion 5.0-rc/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,11 @@ FROM alpine:3.8
# add our user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
RUN addgroup -S redis && adduser -S -G redis redis

RUN apk add --no-cache \
# grab su-exec for easy step-down from root
RUN apk add --no-cache 'su-exec>=0.2'
'su-exec>=0.2' \
# add tzdata for https://github.com/docker-library/redis/issues/138
tzdata

ENV REDIS_VERSION 5.0-rc4
ENV REDIS_DOWNLOAD_URL http://download.redis.io/releases/redis-5.0-rc4.tar.gz
Expand Down

0 comments on commit f11a90d

Please sign in to comment.