images/actions/java/Dockerfile aktualisiert
Some checks failed
CI / build_act (push) Successful in 3m8s
CI / build_php (8.1) (push) Failing after 50s
CI / build_php (8.2) (push) Failing after 51s
CI / build_java (17) (push) Successful in 2m24s
CI / build_java (21) (push) Successful in 2m22s
CI / build_java (180) (push) Failing after 2m0s

This commit is contained in:
Snoweuph 2024-04-25 15:47:42 +00:00
parent 19722ee30b
commit 32031ab100

View file

@ -3,6 +3,10 @@ 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 sudo zypper -n --gpg-auto-import-keys refresh
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"