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
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:
parent
4e9fb326e6
commit
5ca038237c
1 changed files with 4 additions and 1 deletions
|
@ -4,9 +4,12 @@ ARG PACKAGE_VERSION
|
||||||
ENV PACKAGE_VERSION=${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: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 --gpg-auto-import-keys refresh
|
||||||
RUN sudo zypper -n update
|
RUN sudo zypper -n update
|
||||||
|
|
||||||
RUN \
|
RUN \
|
||||||
java_version=$(echo ${PACKAGE_VERSION}) && \
|
java_version=$(echo ${PACKAGE_VERSION}) && \
|
||||||
sudo zypper -n install "java-${java_version}-openjdk"
|
sudo zypper -n install "java-${java_version}-openjdk" libxml2-tools maven
|
Loading…
Reference in a new issue