Dockerfile 485 B

123456789101112131415161718
  1. FROM --platform=linux/amd64 archlinux:base-devel
  2. RUN pacman -Syu --noconfirm
  3. RUN pacman -S --noconfirm git xxhash lmdb re2c valgrind gdb graphviz
  4. WORKDIR /opt/lsup/lsup_rdf/src
  5. RUN git clone --recurse-submodules https://git.knowledgetx.com/scossu/lsup_rdf.git
  6. WORKDIR lsup_rdf
  7. RUN useradd --create-home -G wheel lsup
  8. RUN echo "%wheel ALL=(ALL:ALL) NOPASSWD:ALL" >| /etc/sudoers.d/wheel
  9. RUN chown -R lsup:lsup .
  10. USER lsup
  11. ENV LD_LIBRARY_PATH /opt/local/lsup
  12. CMD ["/usr/bin/bash"]