Skip to content

Commit d35988b

Browse files
committed
Update build containers for WhisperC++
1 parent 4b6e1ab commit d35988b

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.github/workflows/build-whisper.cpp-rpms.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
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

container-files/Dockerfile.el8

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM 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
66
RUN 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
2829
RUN 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

3536
CMD ["/build"]

container-files/Dockerfile.el9

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ FROM quay.io/centos/centos:stream9
22

33
RUN 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 \

0 commit comments

Comments
 (0)