Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/koenrh/docker-bfg


https://github.com/koenrh/docker-bfg

docker docker-image

Last synced: about 2 months ago
JSON representation

Awesome Lists containing this project

README

        

# BFG Repo-Cleaner

[BFG](https://rtyley.github.io/bfg-repo-cleaner/) dockerized.

## Usage

You could run BFG in a container by executing the following `docker` command.

```bash
docker run -it --rm \
--volume "$PWD:/home/bfg/workspace" \
koenrh/bfg \
--delete-files id_rsa
```

You could make this command more easily accessible by putting it in an executable,
and make sure that it is available in your `$PATH`. Alternatively, you could create
wrapper functions for your `docker run` commands ([example](https://github.com/jessfraz/dotfiles/blob/master/.dockerfunc)).

```bash
bfg() {
docker run -it --rm \
--volume "$PWD:/home/bfg/workspace" \
--name bfg \
koenrh/bfg "$@"
}
```