16 lines
383 B
Docker
16 lines
383 B
Docker
FROM openjdk:8-jdk
|
|
|
|
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
|
|
ADD ./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 apt-get clean \
|
|
&& rm -rf /var/lib/apt/lists/*
|