|
@@ -1,14 +1,13 @@
|
|
|
-FROM alpine:latest
|
|
|
+FROM archlinux:base-devel
|
|
|
|
|
|
-RUN apk update
|
|
|
-RUN apk add -t devtools build-base git
|
|
|
-RUN apk add util-linux-dev re2c python3 python3-dev py3-pip
|
|
|
+RUN pacman -Syu --noconfirm
|
|
|
+RUN pacman -S --noconfirm git python python-pip re2c lmdb xxhash
|
|
|
|
|
|
-WORKDIR /opt/lakesuperior/lsup_rdf
|
|
|
+ENV PREFIX /opt/lakesuperior/lsup_rdf
|
|
|
+WORKDIR $PREFIX
|
|
|
RUN git clone --recurse-submodules https://git.knowledgetx.com/scossu/lsup_rdf.git src
|
|
|
-WORKDIR src
|
|
|
|
|
|
+WORKDIR src
|
|
|
RUN make install
|
|
|
RUN make py
|
|
|
|
|
|
-#RUN apk del devtools
|