images/actions/java/Dockerfile aktualisiert
Some checks failed
CI / build_act (push) Successful in 4m16s
CI / build_php (8.1) (push) Successful in 2m11s
CI / build_php (8.2) (push) Failing after 1m22s
CI / build_java (17) (push) Failing after 1m29s
CI / build_java (180) (push) Failing after 1m8s
CI / build_java (21) (push) Failing after 1m37s

This commit is contained in:
Snoweuph 2024-04-25 13:03:10 +00:00
parent 7a9eaa1c94
commit 333d501007

View file

@ -3,4 +3,6 @@ FROM git.euph.dev/actions/runner-basic:latest
ARG PACKAGE_VERSION
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
RUN sudo zypper -n install java-${PACKAGE_VERSION}-openjdk
RUN \
java_package_name=$(echo java-${PACKAGE_VERSION}-openjdk)
sudo zypper -n install $java_package_name