Skip to content

Commit 737456d

Browse files
authored
Switch base image from OpenJDK to Eclipse Temurin
fixed the problem of openjdk images being gone
1 parent 09b67d7 commit 737456d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM openjdk:11-jdk AS build
1+
FROM eclipse-temurin:11-jdk AS build
22
COPY . /jvm-libp2p
33
WORKDIR /jvm-libp2p
44
RUN ./gradlew build -x test --no-daemon
55

6-
FROM openjdk:11-jdk
6+
FROM eclipse-temurin:11-jdk
77
WORKDIR /jvm-libp2p
88
COPY --from=build /jvm-libp2p/interop-test-client/build/distributions/interop-test-client*.tar .
99
RUN tar -xf interop-test-client*.tar && rm interop-test-client*.tar
1010

1111
ENTRYPOINT ["/jvm-libp2p/interop-test-client-develop/bin/interop-test-client"]
12-
EXPOSE 4001
12+
EXPOSE 4001

0 commit comments

Comments
 (0)