Skip to content

Instantly share code, notes, and snippets.

@torkelrogstad
Created May 24, 2019 12:05
Show Gist options
  • Save torkelrogstad/afa9e106b6e075ca4ed8f9b78a1a39bd to your computer and use it in GitHub Desktop.
Save torkelrogstad/afa9e106b6e075ca4ed8f9b78a1a39bd to your computer and use it in GitHub Desktop.
FROM alpine
RUN apk add bash \
bsd-compat-headers \
build-base \
linux-headers \
ncurses-dev \
readline-dev \
sqlite-dev \
zlib-dev \
pcre-dev
ENV LNAV_VERSION 0.8.5
RUN wget https://github.com/tstack/lnav/releases/download/v${LNAV_VERSION}/lnav-${LNAV_VERSION}}.tar.gz && \
tar -xvzf lnav-${LNAV_VERSION}.tar.gz && \
cd lnav-${LNAV_VERSION} && \
./configure && \
make && \
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment