Skip to content

Instantly share code, notes, and snippets.

@fiveNinePlusR
Forked from torkelrogstad/lnav-dockerfile
Created June 27, 2024 02:15
Show Gist options
  • Save fiveNinePlusR/739e8366fe9cab9d2d1c612c5b9440b8 to your computer and use it in GitHub Desktop.
Save fiveNinePlusR/739e8366fe9cab9d2d1c612c5b9440b8 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