From 1e0f356dd193da9e5366a47bc7abb04ef5bacf32 Mon Sep 17 00:00:00 2001 From: Naoki Aoyama <9667078+naa0yama@users.noreply.github.com> Date: Mon, 5 Aug 2024 16:56:35 +0900 Subject: [PATCH] Add biomejs (#12) --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Dockerfile b/Dockerfile index 340a4f1..9cc92bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,6 +34,7 @@ RUN set -eux && \ curl \ git \ gpg-agent \ + jq \ man \ man-db \ mtr \ @@ -83,6 +84,13 @@ RUN set -eux && \ apt-get -y clean && \ rm -rf /var/lib/apt/lists/* +# Add Biome latest install +RUN set -eux && \ + curl -fSL -o /usr/local/bin/biome "$(curl -sfSL https://api.github.com/repos/biomejs/biome/releases/latest | \ + jq -r '.assets[] | select(.name | endswith("linux-x64")) | .browser_download_url')" && \ + chmod +x /usr/local/bin/biome && \ + type -p biome + # Install fish-shell RUN set -eux && \ apt-add-repository -y ppa:fish-shell/release-3 && \