images/actions/java/Dockerfile aktualisiert
Some checks failed
CI / build_act (push) Successful in 3m42s
CI / build_php (8.1) (push) Failing after 57s
CI / build_php (8.2) (push) Successful in 2m6s
CI / build_java (17) (push) Failing after 1m31s
CI / build_java (180) (push) Failing after 52s
CI / build_java (21) (push) Failing after 1m55s

This commit is contained in:
Snoweuph 2024-04-25 14:28:24 +00:00
parent ee86749df5
commit 10f81c3cc6

View file

@ -4,5 +4,5 @@ ARG PACKAGE_VERSION
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
RUN \
java_package_name=$(echo "java-${PACKAGE_VERSION}-openjdk") && \
sudo zypper -n install $java_package_name
java_version=$(echo ${PACKAGE_VERSION}) && \
sudo zypper -n install "java-${java_version}-openjdk"