Skip to content

Commit 3840e8a

Browse files
authored
HADOOP-19661. (Follow-up) Install EPEL before installing other packages (#7938) Contributed by Cheng Pan.
* HADOOP-19661. (Follow-up) Install EPEL before installing other packages Reviewed-by: Gautham B A <[email protected]> Signed-off-by: Shilun Fan <[email protected]>
1 parent eb70639 commit 3840e8a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

dev-support/docker/Dockerfile_rockylinux_8

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@ COPY pkg-resolver pkg-resolver
3030
RUN chmod a+x pkg-resolver/*.sh pkg-resolver/*.py \
3131
&& chmod a+r pkg-resolver/*.json
3232

33+
####
34+
# Install EPEL
35+
####
36+
RUN pkg-resolver/install-epel.sh rockylinux:8
37+
3338
######
3439
# Install packages from yum
3540
######
@@ -38,11 +43,6 @@ RUN yum update -y \
3843
&& yum install -y python3 \
3944
&& yum install -y $(pkg-resolver/resolve.py rockylinux:8)
4045

41-
####
42-
# Install EPEL
43-
####
44-
RUN pkg-resolver/install-epel.sh rockylinux:8
45-
4646
RUN dnf --enablerepo=powertools install -y \
4747
doxygen \
4848
snappy-devel \

0 commit comments

Comments
 (0)