diff options
| author | Polesznyák Márk <contact@pml68.dev> | 2026-02-24 09:16:51 +0100 |
|---|---|---|
| committer | Polesznyák Márk <contact@pml68.dev> | 2026-02-24 09:16:51 +0100 |
| commit | d34c97abd20a4656db76ef59ac0cab9a850d9dbc (patch) | |
| tree | b6b17fabb9fe5e35d42a2b583c203c129f8e436b | |
| parent | feat(crates.nvim): switch to unstable release (diff) | |
| download | nvim-d34c97abd20a4656db76ef59ac0cab9a850d9dbc.tar.gz | |
feat(image): keep sources for qbe, harec and hare
| -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 |
