File: Dockerfile

package info (click to toggle)
lrzip 0.660-1
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 1,256 kB
  • sloc: ansic: 12,643; cpp: 2,889; sh: 568; asm: 203; makefile: 201
file content (14 lines) | stat: -rw-r--r-- 472 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
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 ["/bin/sh"]