Update Dockerfile

add lz4-dev to last layer
This commit is contained in:
Sean 2022-10-31 14:33:39 -04:00 committed by GitHub
parent 5bd8b8f2ff
commit daa40cee1d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ RUN apk add --update git autoconf automake libtool gcc musl-dev zlib-dev bzip2-d
cd /lrzip && ./autogen.sh && ./configure && make -j `nproc` && make install
FROM alpine
RUN apk add --update --no-cache lzo libbz2 libstdc++ && \
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"]