Files
Mark Paluch d62662336f Upgrade to Redis 6.2.6.
Closes #2272
2022-02-23 09:20:57 +01:00

17 lines
387 B
Docker

ARG BASE
FROM ${BASE}
# Any ARG statements before FROM are cleared.
ARG REDIS
# Copy Spring Data Redis's Makefile into the container
#
COPY ./Makefile /
RUN set -eux; \
apt-get update ; \
apt-get install -y build-essential ; \
make work/redis/bin/redis-cli work/redis/bin/redis-server REDIS_VERSION=${REDIS}; \
chmod -R o+rw work; \
apt-get clean; \
rm -rf /var/lib/apt/lists/*;