summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--slcl/master/Dockerfile12
1 files changed, 12 insertions, 0 deletions
diff --git a/slcl/master/Dockerfile b/slcl/master/Dockerfile
new file mode 100644
index 0000000..b910159
--- /dev/null
+++ b/slcl/master/Dockerfile
@@ -0,0 +1,12 @@
+FROM alpine
+RUN apk update && apk add \
+ git \
+ make \
+ gcc \
+ musl-dev
+COPY --from=libcjson:1.7.16 /install/cjson-1.7.16/ /usr/local/
+COPY --from=libopenssl:3.1.1-minimal /install/openssl-3.1.1/ /usr/local/
+RUN git clone --depth 1 --recursive https://gitea.privatedns.org/xavi92/slcl
+WORKDIR /slcl
+RUN make LDFLAGS=-static -j$(nproc --all)
+RUN strip slcl