-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3f19396
commit 15f5621
Showing
1 changed file
with
5 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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"] |