From ab6e708d309d5e76e0bc90fa0145130c5acdc9dd Mon Sep 17 00:00:00 2001 From: Zhejun Zheng Date: Sat, 28 Dec 2024 10:38:28 +0800 Subject: [PATCH] fix: add `xz-utils` dependencies The licensed gem installation fails due to missing `xzcat` command during `nokogiri` compilation. Adding `xz-utils` package resolves this dependency issue. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3ff5209a48a..a744b8ac9bb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,7 +19,7 @@ RUN chmod +x /metrics/source/app/action/index.mjs \ && apt-get install -y curl unzip \ && curl -fsSL https://deno.land/x/install/install.sh | DENO_INSTALL=/usr/local sh \ # Install ruby to support github licensed gem - && apt-get install -y ruby-full git g++ cmake pkg-config libssl-dev \ + && apt-get install -y ruby-full git g++ cmake pkg-config libssl-dev xz-utils \ && gem install licensed \ # Install python for node-gyp && apt-get install -y python3 \