added copying of JDK 17 into image
This commit is contained in:
@@ -5,6 +5,11 @@
|
|||||||
# pull official base image
|
# pull official base image
|
||||||
FROM python:3.10-bookworm as BUILDER
|
FROM python:3.10-bookworm as BUILDER
|
||||||
|
|
||||||
|
# install JDK 17
|
||||||
|
ENV JAVA_HOME=/opt/java/openjdk
|
||||||
|
COPY --from=eclipse-temurin:17-jre $JAVA_HOME $JAVA_HOME
|
||||||
|
ENV PATH="${JAVA_HOME}/bin:${PATH}"
|
||||||
|
|
||||||
# install Ookla's speedtest
|
# install Ookla's speedtest
|
||||||
RUN apt update && \
|
RUN apt update && \
|
||||||
apt install -y speedtest-cli
|
apt install -y speedtest-cli
|
||||||
|
|||||||
Reference in New Issue
Block a user