images/actions/java/Dockerfile aktualisiert
Some checks failed
CI / build_act (push) Failing after 46s
CI / build_php (8.1) (push) Has been skipped
CI / build_php (8.2) (push) Has been skipped
CI / build_java (17) (push) Has been skipped
CI / build_java (1_8_0) (push) Has been skipped
CI / build_java (21) (push) Has been skipped
Some checks failed
CI / build_act (push) Failing after 46s
CI / build_php (8.1) (push) Has been skipped
CI / build_php (8.2) (push) Has been skipped
CI / build_java (17) (push) Has been skipped
CI / build_java (1_8_0) (push) Has been skipped
CI / build_java (21) (push) Has been skipped
This commit is contained in:
parent
455d6cab40
commit
cfa3038f50
1 changed files with 1 additions and 9 deletions
|
@ -3,12 +3,4 @@ FROM git.euph.dev/actions/runner-basic:latest
|
||||||
ARG PACKAGE_VERSION
|
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 apk add --no-cache openjdk${PACKAGE_VERSION} maven gradle libxml2-utils
|
||||||
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
|
|
||||||
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" libxml2 libxml2-tools maven
|
|
Loading…
Reference in a new issue