This is a docker image for compatibility-testing .devkit-based projects with specific versions of bash. It adds the following modules to an official bash image:
lessandncurses(for paging test results and cutting them to the current screen size)py-pygments(for colorizing the test diffs)python(for running cram)git(to fetch dependencies)entrandmodd(to support .devkit'swatchcommand)jq,yaml2jsonandpy-yaml(for jqmd)php7asphp(for testing imposer)goandmusl-dev(for building go-based dependencies)shellcheck(for linting shell scripts)coreutils(for atouch -rcommand that works correctly with bash 5 timestamp comparison)
By default, it builds from bash 3.2, but you can set --build-arg BASH_VER=some.version to create an image based on a specific bash version. It has a work directory called /workdir, so mounting $PWD to /workdir will let you run things from the current directory.
To use it interactively on the command line, just do, e.g.:
docker run --rm -it -v "$PWD:/workdir" ghcr.io/bashup/bash-kit:3.2(Or whatever bash version you want, that's available in the current tags.)