diff --git a/Dockerfile b/Dockerfile index e2cac26328..4b87d89b5d 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 \ + rime/librime-predict predict \ + lotem/librime-octagram octagram WORKDIR /librime RUN cmake -B build -G Ninja \