File tree Expand file tree Collapse file tree 3 files changed +9
-8
lines changed
Expand file tree Collapse file tree 3 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 3030 name : build (el${{ matrix.osversion }})
3131 runs-on : ubuntu-latest
3232 container :
33- image : docker.io/lkiesow/opencast-rpmbuild:el${{ matrix.osversion }}-oc16
33+ image : docker.io/lkiesow/opencast-rpmbuild:el${{ matrix.osversion }}-oc18
3434 steps :
3535 - uses : actions/checkout@v4
3636
Original file line number Diff line number Diff line change 11FROM docker.io/library/rockylinux:8
22
3- RUN dnf install -y https://pkg.opencast.org/rpms/release/el/8/oc-16 /noarch/opencast-repository-16 -1.el8.noarch.rpm \
3+ RUN dnf install -y https://pkg.opencast.org/rpms/release/el/8/oc-17 /noarch/opencast-repository-17 -1.el8.noarch.rpm \
44 && dnf -y install epel-release \
55 && dnf -y clean all
66RUN dnf -y install https://data.lkiesow.de/opencast/maven-3.8.2-1.el8.noarch.rpm
@@ -12,7 +12,7 @@ RUN dnf -y install \
1212 createrepo \
1313 sudo \
1414 bzip2 \
15- java-17 -devel \
15+ java-21 -devel \
1616 jq \
1717 sed \
1818 tar \
@@ -24,12 +24,13 @@ RUN dnf -y install \
2424 gcc-c++ \
2525 libstdc++-devel \
2626 make \
27+ cmake \
2728 && dnf -y clean all
2829RUN useradd --no-create-home makerpm
2930
30- # Make Java 11 the default
31- RUN alternatives --set java java-17 -openjdk.x86_64 \
32- && alternatives --set javac java-17 -openjdk.x86_64
33- ENV JAVA_HOME=/usr/lib/jvm/java-17 -openjdk
31+ # Make Java 21 the default
32+ RUN alternatives --set java java-21 -openjdk.x86_64 \
33+ && alternatives --set javac java-21 -openjdk.x86_64
34+ ENV JAVA_HOME=/usr/lib/jvm/java-21 -openjdk
3435
3536CMD ["/build"]
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ FROM quay.io/centos/centos:stream9
22
33RUN dnf install -y https://pkg.opencast.org/rpms/release/el/9/oc-17/noarch/opencast-repository-17-1.el9.noarch.rpm \
44 && dnf -y install \
5- s3cmd \
65 dnf-plugins-core \
76 rpmdevtools \
87 rpmlint \
@@ -18,6 +17,7 @@ RUN dnf install -y https://pkg.opencast.org/rpms/release/el/9/oc-17/noarch/openc
1817 xz \
1918 gzip \
2019 git \
20+ s3cmd \
2121 systemd \
2222 gcc-c++ \
2323 libstdc++-devel \
You can’t perform that action at this time.
0 commit comments