Lightweight 30mb multi-arch Docker image with BFG Repo-Cleaner
1.8K
This is a lightweight (~30mb compressed) Docker image with BFG Repo-Cleaner.
You need to run the container with same user id as current user to prevent repo permission issues
docker run --rm -it -v "${PWD}:/work" -u $(id -u ${USER}):$(id -g ${USER}) jtmotox/bfg --replace-text passwords.txt my-repo.git
If you have the alias set, you can run it as:
bfg --replace-text passwords.txt my-repo.git
docker run --rm -it -v "%cd%:/work" jtmotox/bfg --replace-text passwords.txt my-repo.git
If you don't want to run the docker command every time, you can set the following alias:
alias bfg='docker run --rm -it -v "${PWD}:/work" -u $(id -u ${USER}):$(id -g ${USER}) jtmotox/bfg'
latest
Size: ~30mb
Supports the following architectures:
Content type
Image
Digest
sha256:9cc8bb509…
Size
38.3 MB
Last updated
6 months ago
docker pull jtmotox/bfg