Skip to content

Commit 88a93fb

Browse files
committed
Download the BellSoft JDK directly on aarch64, seems to be issues with the yum repo
1 parent 31a684d commit 88a93fb

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

‎almalinux8_aarch64/Dockerfile‎

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,17 @@ RUN \
2424

2525
# 2. Finally build the RocksDB Build Environment
2626
FROM almalinux8_aarch64-base-be AS almalinux8_aarch64-rocksdb-be
27-
COPY bellsoft.repo /etc/yum.repos.d/bellsoft.repo
27+
# NOTE(AR) bellsoft repo works on CentOS 7 but not AlmaLinux 8, its repo metatdata produces a 404, seems broken for dnf but not earlier yum versions
28+
#COPY bellsoft.repo /etc/yum.repos.d/bellsoft.repo
29+
# RUN \
30+
# dnf --setopt=tsflags=nodocs -y install gflags-devel snappy-devel zlib-devel bzip2-devel lz4-devel libzstd-devel \
31+
# && dnf --setopt=tsflags=nodocs -y install bellsoft-java8 \
32+
# && dnf -y clean all \
33+
# && wget -qO- https://archive.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz | tar -zxvf- -C /opt
34+
2835
RUN \
2936
dnf --setopt=tsflags=nodocs -y install gflags-devel snappy-devel zlib-devel bzip2-devel lz4-devel libzstd-devel \
30-
&& dnf --setopt=tsflags=nodocs -y install bellsoft-java8 \
37+
&& dnf --setopt=tsflags=nodocs -y install https://download.bell-sw.com/java/8u504+1/bellsoft-jdk8u504+1-linux-aarch64.rpm \
3138
&& dnf -y clean all \
3239
&& wget -qO- https://archive.apache.org/dist/maven/maven-3/$MAVEN_VERSION/binaries/apache-maven-$MAVEN_VERSION-bin.tar.gz | tar -zxvf- -C /opt
3340

0 commit comments

Comments
 (0)