Skip to content

Commit

Permalink
tmux 3.5
Browse files Browse the repository at this point in the history
  • Loading branch information
casperklein committed Sep 28, 2024
1 parent 5476bf4 commit fca7243
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM debian:12-slim

ARG GIT_USER="tmux"
ARG GIT_REPO="tmux"
ARG GIT_COMMIT="3.4"
ARG GIT_COMMIT="3.5"
# ARG GIT_ARCHIVE="https://github.com/$GIT_USER/$GIT_REPO/archive/$GIT_COMMIT.tar.gz"
ARG GIT_ARCHIVE="https://github.com/${GIT_USER}/${GIT_REPO}/releases/download/${GIT_COMMIT}/tmux-${GIT_COMMIT}.tar.gz"
ARG ARCHIVE="tmux-${GIT_COMMIT}.tar.gz"
Expand Down
20 changes: 11 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,34 @@
# docker-tmux-builder

Builds a [tmux](https://github.com/tmux/tmux) debian package with [Docker](https://www.docker.com/). Supports `amd64`, `arm64` and `armhf` architecture.
Builds a [tmux](https://github.com/tmux/tmux) Debian 12 package with [Docker](https://www.docker.com/). Supports `amd64`, `arm64` and `armhf` architecture.

When running **make**, tmux is build, packaged and copied to the current directory.

## Prepare

git clone https://github.com/casperklein/docker-tmux-builder
cd docker-tmux-builder

## Build tmux debian package
make

## Build tmux debian package for older debian versions, e.g. Debian 10 (Buster)
DEBIAN=10
sed -i 's|^FROM.*|FROM debian:'$DEBIAN'-slim|' Dockerfile
make

## Install tmux debian package

make install

## Copy tmux.conf to /etc/tmux.conf and tmux.pin to /etc/apt/preferences.d/tmux

make copy-conf

## Bash completion

See `bash_completion_tmux.sh` for details.

## Uninstall tmux

make uninstall

## Cleanup build environment

make clean
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"user": "casperklein",
"name": "docker-tmux-builder",
"image": "casperklein/docker-tmux-builder",
"version": "3.4"
"version": "3.5"
}

0 comments on commit fca7243

Please sign in to comment.