Skip to content

Commit 10182e4

Browse files
authored
Merge pull request #12 from dotmh/fix/eza
fix(docker/rocky): eza has been removed from dnf so install manually
2 parents b8bc138 + 8ed96ee commit 10182e4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

containers/Rocky.Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,14 @@ RUN dnf -y install util-linux-user &&\
2121
# Install Oh My ZSH
2222
RUN sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
2323

24+
RUN dnf -y install wget
25+
2426
# Install EZA https://github.com/eza-community/eza
25-
RUN dnf -y install eza
27+
# RUN dnf -y install eza
28+
RUN wget -c https://github.com/eza-community/eza/releases/latest/download/eza_x86_64-unknown-linux-gnu.tar.gz -O - | tar xz &&\
29+
chmod +x eza &&\
30+
chown root:root eza &&\
31+
mv eza /usr/local/bin/eza
2632

2733
# Install BAT https://github.com/sharkdp/bat
2834
RUN dnf -y install bat

0 commit comments

Comments
 (0)