Skip to content

Commit 0e5adcb

Browse files
committed
Add Dockerfile to build with Java 17 and Redis 6.2.
Closes spring-projects#2173.
1 parent af844ff commit 0e5adcb

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

ci/openjdk17-redis6.2/Dockerfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
FROM openjdk:17-bullseye
2+
3+
# Copy Spring Data Redis's Makefile into the container
4+
COPY ./Makefile /
5+
6+
RUN set -eux; \
7+
apt-get update ; \
8+
apt-get install -y build-essential ; \
9+
make work/redis/bin/redis-cli work/redis/bin/redis-server REDIS_VERSION=6.2.4; \
10+
chmod -R o+rw work; \
11+
apt-get clean; \
12+
rm -rf /var/lib/apt/lists/*;

0 commit comments

Comments
 (0)