From 37967054fd8af8ca270746e75995c466960cdb41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=85=E6=88=8E=E6=B0=8F?= Date: Thu, 8 Feb 2024 21:05:48 +0800 Subject: [PATCH 1/2] ci(Dockerfile): enable plugin librime-lua fixed via https://github.com/hchunhui/librime-lua/pull/310 --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 52c5b148c8..e2cac26328 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,8 +19,7 @@ RUN apt update && apt install -y \ COPY / /librime WORKDIR /librime/plugins RUN git clone https://github.com/rime/librime-charcode charcode && \ - # fix it - # git clone https://github.com/hchunhui/librime-lua lua && \ + git clone https://github.com/hchunhui/librime-lua lua && \ git clone https://github.com/rime/librime-predict predict && \ git clone https://github.com/lotem/librime-octagram octagram From 0e946e7347a31d559572510d7163acfea9195351 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B1=85=E6=88=8E=E6=B0=8F?= Date: Thu, 8 Feb 2024 21:15:01 +0800 Subject: [PATCH 2/2] build(Dockerfile): use install-plugins.sh --- Dockerfile | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index e2cac26328..5f9e07f9fd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,11 +17,12 @@ RUN apt update && apt install -y \ liblua5.4-dev COPY / /librime -WORKDIR /librime/plugins -RUN git clone https://github.com/rime/librime-charcode charcode && \ - git clone https://github.com/hchunhui/librime-lua lua && \ - git clone https://github.com/rime/librime-predict predict && \ - git clone https://github.com/lotem/librime-octagram octagram +WORKDIR /librime +RUN bash install-plugins.sh \ + rime/librime-charcode \ + hchunhui/librime-lua \ + lotem/librime-octagram \ + rime/librime-predict WORKDIR /librime RUN cmake -B build -G Ninja \