Sign inSign up

jdkelley/bash

By jdkelley

•Updated almost 7 years ago

Image
0

1.1K

jdkelley/bash repository overview

⁠bash

Bash⁠ in a container. This is useful if the system you are on does not have an up to date version of bash and you are unable to upgrade. Examples of this might be a shared CI node, a build server that must provide multiple versions of bash, or a Mac.

⁠Usage
docker run --rm \
    -it \
    jdkelley/bash

To use this instead of the local version of bash, create an alias:

alias bash="docker run --rm -it jdkelley/bash"
⁠Using scripts on your local filesystem.

There may be times when you want to use a directory of files inside your bash container. Map in the directory as a volume:

docker run --rm \
    -v <scripts-directory>:/scripts \
    -it \
    jdkelley/bash

To map your current directory, use:

docker run --rm \
    -v ${PWD}:/scripts \
    -it \
    jdkelley/bash
⁠Deployed

This is deployed on Docker Hub⁠ and GitHub Package Registry⁠.

Tag summary

Content type

Image

Digest

Size

3.8 MB

Last updated

almost 7 years ago

docker pull jdkelley/bash