Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
Merge pull request #112 from netlify/add-l4z
Browse files Browse the repository at this point in the history
Add LZ4 compression binaries
  • Loading branch information
brycekahle committed Dec 6, 2017
2 parents dd11ce3 + e2ac4f0 commit 1646177
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Expand Up @@ -295,6 +295,17 @@ USER buildbot
RUN rm -rf /opt/buildhome/.cask && git clone https://github.com/cask/cask.git /opt/buildhome/.cask
ENV PATH "$PATH:/opt/buildhome/.cask/bin"

###
# LZ4 Compression
###

ENV LZ4_VERSION 1.8.0
RUN curl -sL https://github.com/lz4/lz4/archive/v${LZ4_VERSION}.tar.gz | tar xzvf - && \
cd lz4-${LZ4_VERSION} && \
make && \
make install && \
cd .. && rm -rf lz4-${LZ4_VERSION}

# Cleanup
USER root
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* && apt-get autoremove -y
Expand Down

0 comments on commit 1646177

Please sign in to comment.