summaryrefslogtreecommitdiff
path: root/expat/2.5.0/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'expat/2.5.0/Dockerfile')
-rw-r--r--expat/2.5.0/Dockerfile16
1 files changed, 16 insertions, 0 deletions
diff --git a/expat/2.5.0/Dockerfile b/expat/2.5.0/Dockerfile
new file mode 100644
index 0000000..5ae4495
--- /dev/null
+++ b/expat/2.5.0/Dockerfile
@@ -0,0 +1,16 @@
+FROM alpine
+RUN apk update && apk add \
+ make \
+ gcc \
+ musl-dev \
+ wget
+RUN wget https://github.com/libexpat/libexpat/releases/download/R_2_5_0/expat-2.5.0.tar.gz
+RUN tar -xf expat-2.5.0.tar.gz
+WORKDIR /expat-2.5.0
+ARG PREFIX=/opt/spm/libexpat-2.5.0
+RUN ./configure \
+ --disable-shared \
+ --prefix=$PREFIX \
+ CFLAGS='-ffunction-sections -fdata-sections -Os'
+RUN make -j$(nproc --all)
+RUN make install