From 15f5621928016eaf54c30356a68f68744f3c0104 Mon Sep 17 00:00:00 2001 From: Ahmed Eldaly <111642557+ahmedeldaly097@users.noreply.github.com> Date: Sun, 28 Apr 2024 11:06:32 +0300 Subject: [PATCH] Creating Dockerfile (#238) --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6b02adc..984aa4e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,14 @@ FROM alpine as builder + RUN apk add --update git autoconf automake libtool gcc musl-dev zlib-dev bzip2-dev lzo-dev coreutils make g++ lz4-dev && \ git clone https://github.com/ckolivas/lrzip.git && \ cd /lrzip && ./autogen.sh && ./configure && make -j `nproc` && make install FROM alpine + RUN apk add --update --no-cache lzo libbz2 libstdc++ lz4-dev && \ rm -rf /tmp/* /var/tmp/* + COPY --from=builder /usr/local/bin/lrzip /usr/local/bin/lrzip -CMD ["/usr/local/bin/lrzip"] + +CMD ["/bin/sh"] \ No newline at end of file