13 lines
338 B
Docker
13 lines
338 B
Docker
FROM adoptopenjdk/openjdk8:latest
|
|
|
|
# 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=6.2.1; \
|
|
chmod -R o+rw work; \
|
|
apt-get clean; \
|
|
rm -rf /var/lib/apt/lists/*;
|