summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-07-13 17:27:24 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-07-14 00:56:17 +0200
commit351d315b7c95d55ceb112a3f335a40851173413e (patch)
tree240474d32690c81eeb273078fdbf6b0c087f6f73
parent56b4876b0a5e9b38f6f7ab412657f647d0be8cce (diff)
Add enet-1.3.17
-rw-r--r--enet/1.3.17/Dockerfile17
1 files changed, 17 insertions, 0 deletions
diff --git a/enet/1.3.17/Dockerfile b/enet/1.3.17/Dockerfile
new file mode 100644
index 0000000..dfafb53
--- /dev/null
+++ b/enet/1.3.17/Dockerfile
@@ -0,0 +1,17 @@
+FROM alpine
+RUN apk update && apk add \
+ git \
+ make \
+ gcc \
+ musl-dev \
+ wget
+RUN wget http://enet.bespin.org/download/enet-1.3.17.tar.gz
+RUN tar -xf enet-1.3.17.tar.gz
+WORKDIR /enet-1.3.17
+ARG PREFIX=/install/enet-1.3.17
+RUN ./configure \
+ --prefix=$PREFIX \
+ --enable-shared=no \
+ CFLAGS='-ffunction-sections -fdata-sections -Os'
+RUN make -j$(nproc --all)
+RUN make install