Add Java 17 to CI pipeline.

Closes #2175
This commit is contained in:
Mark Paluch
2021-09-27 08:38:29 +02:00
parent b1c4fc2276
commit 5166950b2b
3 changed files with 12 additions and 86 deletions

View File

@@ -1,12 +0,0 @@
FROM adoptopenjdk/openjdk16: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.4; \
chmod -R o+rw work; \
apt-get clean; \
rm -rf /var/lib/apt/lists/*;

View File

@@ -1,9 +1,10 @@
FROM adoptopenjdk/openjdk11:latest
FROM openjdk:17-bullseye
# Copy Spring Data Redis's Makefile into the container
COPY ./Makefile /
RUN set -eux; \
sed -i -e 's/http/https/g' /etc/apt/sources.list ; \
apt-get update ; \
apt-get install -y build-essential ; \
make work/redis/bin/redis-cli work/redis/bin/redis-server REDIS_VERSION=6.2.4; \