Skip to content

Commit e2417f3

Browse files
authored
fix: Hadoop build by re-installing EPEL (#760)
1 parent 59b94a2 commit e2417f3

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

hadoop/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ RUN curl --fail -L -s -S https://repo.stackable.tech/repository/packages/protobu
4545
make install && \
4646
rm -rf /opt/protobuf-src
4747

48-
ENV PROTOBUF_HOME /opt/protobuf
49-
ENV PATH "${PATH}:/opt/protobuf/bin"
48+
ENV PROTOBUF_HOME=/opt/protobuf
49+
ENV PATH="${PATH}:/opt/protobuf/bin"
5050

51-
RUN rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
51+
RUN rpm --install --replacepkgs https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
5252
RUN microdnf update && \
5353
microdnf install \
5454
# boost is a build dependency starting in Hadoop 3.4.0 if compiling native code

java-base/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ LABEL name="Stackable image for OpenJDK" \
2020
description="This image is the base image for all Stackable Java product images."
2121

2222
# We need to use EPEL, as openjdk 22 is not shipped with UBI9
23-
RUN rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
23+
RUN rpm --install --replacepkgs https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
2424

2525
RUN microdnf update && \
2626
microdnf install \

java-devel/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ FROM stackable/image/stackable-base
88
ARG PRODUCT
99

1010
# We need to use EPEL, as openjdk 22 is not shipped with UBI9
11-
RUN rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
11+
RUN rpm --install --replacepkgs https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
1212

1313
# hadolint ignore=DL3041
1414
RUN microdnf update && \

0 commit comments

Comments
 (0)