We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2183079 commit 3fb8c57Copy full SHA for 3fb8c57
ci/openjdk17-redis-6.2/Dockerfile
@@ -1,12 +1,16 @@
1
-FROM adoptopenjdk/openjdk15:latest
+ARG BASE
2
+FROM ${BASE}
3
+# Any ARG statements before FROM are cleared.
4
+ARG REDIS
5
6
# Copy Spring Data Redis's Makefile into the container
7
COPY ./Makefile /
8
9
RUN set -eux; \
10
+# sed -i -e 's/http/https/g' /etc/apt/sources.list ; \
11
apt-get update ; \
12
apt-get install -y build-essential ; \
- make work/redis/bin/redis-cli work/redis/bin/redis-server REDIS_VERSION=6.2.1; \
13
+ make work/redis/bin/redis-cli work/redis/bin/redis-server REDIS_VERSION=${REDIS}; \
14
chmod -R o+rw work; \
15
apt-get clean; \
16
rm -rf /var/lib/apt/lists/*;
0 commit comments