-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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