From d34c97abd20a4656db76ef59ac0cab9a850d9dbc Mon Sep 17 00:00:00 2001 From: Polesznyák Márk Date: Tue, 24 Feb 2026 09:16:51 +0100 Subject: feat(image): keep sources for qbe, harec and hare --- Dockerfile | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/Dockerfile b/Dockerfile index d6d5c6d..983f57c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 -- cgit v1.2.3