diff options
| -rw-r--r-- | Dockerfile | 26 |
1 files changed, 14 insertions, 12 deletions
@@ -32,28 +32,30 @@ RUN apk add --no-cache wget \ tree-sitter-cli \ scdoc +RUN mkdir source + # install qbe -RUN git clone git://c9x.me/qbe.git && \ - cd qbe && \ +RUN git clone git://c9x.me/qbe.git source/qbe && \ + cd source/qbe && \ make PREFIX=/usr && \ - make PREFIX=/usr install && \ - cd .. && rm -rf qbe + make PREFIX=/usr install clean && \ + cd # install harec -RUN git clone https://git.sr.ht/~sircmpwn/harec && \ - cd harec && \ +RUN git clone https://git.sr.ht/~sircmpwn/harec source/harec && \ + cd source/harec && \ cp configs/linux.mk config.mk && \ make PREFIX=/usr && \ - make PREFIX=/usr install && \ - cd .. && rm -rf harec + make PREFIX=/usr install clean && \ + cd # install hare -RUN git clone https://git.sr.ht/~sircmpwn/hare && \ - cd hare && \ +RUN git clone https://git.sr.ht/~sircmpwn/hare source/hare && \ + cd source/hare && \ cp configs/linux.mk config.mk && \ make PREFIX=/usr && \ - make PREFIX=/usr install && \ - cd .. && rm -rf hare + make PREFIX=/usr install clean && \ + cd # pre-download lazy.nvim RUN git clone --filter=blob:none https://github.com/folke/lazy.nvim.git --branch=stable /root/.local/share/nvim/lazy/lazy.nvim |
