2024-11-11 09:22:12 +01:00
|
|
|
# Rx3-Docker/Java Docker Image
|
2024-08-28 22:44:12 +02:00
|
|
|
#-------------------------------------------------------------------------------
|
|
|
|
|
2024-11-11 09:22:12 +01:00
|
|
|
ARG IMG_FROM_URL="rx3-docker/server:latest"
|
2024-08-28 22:44:12 +02:00
|
|
|
|
2024-11-11 09:22:12 +01:00
|
|
|
FROM ${IMG_FROM_URL}
|
2024-08-28 22:44:12 +02:00
|
|
|
|
|
|
|
ARG IMG_NAME
|
2024-11-11 09:22:12 +01:00
|
|
|
ARG IMG_NAME_FULL
|
2024-08-28 22:44:12 +02:00
|
|
|
ARG IMG_VERSION
|
|
|
|
ARG IMG_MAINTAINER
|
|
|
|
|
2024-11-11 09:22:12 +01:00
|
|
|
LABEL org.rx3.${IMG_NAME}.name=${IMG_NAME_FULL}
|
2024-08-28 22:44:12 +02:00
|
|
|
LABEL org.rx3.${IMG_NAME}.version=${IMG_VERSION}
|
|
|
|
LABEL org.rx3.${IMG_NAME}.maintainer=${IMG_MAINTAINER}
|
|
|
|
LABEL maintainer=${IMG_MAINTAINER}
|
|
|
|
|
|
|
|
|
|
|
|
|
2024-11-11 09:22:12 +01:00
|
|
|
RUN urpmi --force --no-install java-17-openjdk-headless lib64rocm-opencl-runtime5.7 \
|
|
|
|
&& rpm -Uvh --nodeps $( for pkg in javapackages-filesystem java-17-openjdk-headless rootcerts-java timezone-java copy-jdk-configs; do ls /var/cache/urpmi/rpms/$pkg*.rpm; done) \
|
|
|
|
&& rm -f /var/cache/urpmi/rpms/*
|
|
|
|
|
|
|
|
|