Skip to content

Instantly share code, notes, and snippets.

@ksalman
Forked from spacelatte/tmux.dockerfile
Created September 2, 2019 19:13
Show Gist options
  • Save ksalman/bfe8c222943f03fea30626c99019b51c to your computer and use it in GitHub Desktop.
Save ksalman/bfe8c222943f03fea30626c99019b51c to your computer and use it in GitHub Desktop.
i need to update actual static-docker repo but too lazy for that for now
#!/usr/bin/env docker build --compress -t pvtmert/tmux:static -f
FROM debian:stable
ENV CC clang
ENV DIR tmux-repo
ENV REPO https://github.com/tmux/tmux.git
#VOLUME /data
WORKDIR /data
RUN apt update && apt install -y bison automake build-essential clang libevent-dev git pkg-config libncurses5-dev
RUN git clone -q --progress --depth 1 $REPO $DIR
RUN (cd $DIR; bash autogen.sh) && $DIR/configure --enable-static
CMD make -C . -j $(nproc) && ./tmux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment