diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-10-20 12:50:34 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-10-24 22:58:59 +0200 |
| commit | f001951e3aec75bf750fda476c0ba4ce443029c3 (patch) | |
| tree | 3f498ed5b6772043675f1abb5eea084c19fe464d /expat/2.5.0/Dockerfile | |
| parent | 505c7012cb160690afdcf5e50a98970ad346cb1e (diff) | |
| download | spm-packages-prosody.tar.gz | |
WIP prosodyprosody
Diffstat (limited to 'expat/2.5.0/Dockerfile')
| -rw-r--r-- | expat/2.5.0/Dockerfile | 16 |
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 |
