images/actions/java/Dockerfile aktualisiert
Some checks failed
CI / build_java (21) (push) Waiting to run
CI / build_act (push) Successful in 3m17s
CI / build_php (8.1) (push) Failing after 1m42s
CI / build_php (8.2) (push) Failing after 35s
CI / build_java (17) (push) Failing after 40s
CI / build_java (1_8_0) (push) Has been cancelled

This commit is contained in:
Snoweuph 2024-04-25 16:17:48 +00:00
parent 4e9fb326e6
commit 5ca038237c

View file

@ -4,9 +4,12 @@ ARG PACKAGE_VERSION
ENV PACKAGE_VERSION=${PACKAGE_VERSION}
RUN sudo zypper -n addrepo https://download.opensuse.org/repositories/home:ecsos/$(grep -oP '(?<=^VERSION_ID=).+' /etc/os-release | tr -d '"')/home:ecsos.repo
RUN sudo zypper -n addrepo https://download.opensuse.org/repositories/home:wicked:qubes-build/$(grep -oP '(?<=^VERSION_ID=).+' /etc/os-release | tr -d '"')/home:wicked:qubes-build.repo
zypper refresh
RUN sudo zypper -n addrepo https://download.opensuse.org/repositories/home:inescid:grid/$(grep -oP '(?<=^VERSION_ID=).+' /etc/os-release | tr -d '"')/home:inescid:grid.repo
RUN sudo zypper -n --gpg-auto-import-keys refresh
RUN sudo zypper -n update
RUN \
java_version=$(echo ${PACKAGE_VERSION}) && \
sudo zypper -n install "java-${java_version}-openjdk"
sudo zypper -n install "java-${java_version}-openjdk" libxml2-tools maven