DATAREDIS-1380 - Support Redis 4.0 for CI.

This commit is contained in:
Greg Turnquist
2019-06-07 13:39:49 -05:00
parent b7149bbbe0
commit 35f85ec9f5
2 changed files with 37 additions and 1 deletions

17
ci/Dockerfile Normal file
View File

@@ -0,0 +1,17 @@
FROM adoptopenjdk/openjdk8:latest
RUN apt-get update
# Get the tools for building Redis
RUN apt-get install -y build-essential
# Copy Spring Data Redis's Makefile into the container
COPY ./Makefile /
# Build Redis inside the container so we don't have to build it during the job.
RUN make work/redis/bin/redis-cli work/redis/bin/redis-server
RUN chmod -R o+rw work
RUN apt-get clean \
&& rm -rf /var/lib/apt/lists/*