Skip to content

Commit 0e946e7

Browse files
committed
build(Dockerfile): use install-plugins.sh
1 parent 3796705 commit 0e946e7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Dockerfile

+6-5
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,12 @@ RUN apt update && apt install -y \
1717
liblua5.4-dev
1818

1919
COPY / /librime
20-
WORKDIR /librime/plugins
21-
RUN git clone https://github.com/rime/librime-charcode charcode && \
22-
git clone https://github.com/hchunhui/librime-lua lua && \
23-
git clone https://github.com/rime/librime-predict predict && \
24-
git clone https://github.com/lotem/librime-octagram octagram
20+
WORKDIR /librime
21+
RUN bash install-plugins.sh \
22+
rime/librime-charcode \
23+
hchunhui/librime-lua \
24+
lotem/librime-octagram \
25+
rime/librime-predict
2526

2627
WORKDIR /librime
2728
RUN cmake -B build -G Ninja \

0 commit comments

Comments
 (0)