Skip to content

Commit

Permalink
fix(docker): use mlocate in 20.04 image and plocate in >=22.04
Browse files Browse the repository at this point in the history
Signed-off-by: Dusan Malusev <[email protected]>
  • Loading branch information
CodeLieutenant committed Aug 11, 2024
1 parent 3db017a commit f8d0674
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -163,13 +163,14 @@ ENV PATH="$PATH:/root/.local/bin:/php/bin"

RUN apt-get update \
&& apt-get upgrade -y \
&& CODENAME=$(grep VERSION_CODENAME /etc/os-release | cut -d= -f2); [ "$CODENAME" = "focal" ] && apt-get install -y mlocate python3.8-venv \
|| apt-get install -y plocate \
&& apt-get install -y \
pipx \
gdb \
python3 \
python3-pip \
unzip \
plocate \
clang-format \
lldb \
libonig5 \
Expand Down

0 comments on commit f8d0674

Please sign in to comment.