Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/koenrh/docker-bfg
https://github.com/koenrh/docker-bfg
docker docker-image
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/koenrh/docker-bfg
- Owner: koenrh
- Created: 2019-04-13T11:58:00.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-23T07:56:57.000Z (almost 2 years ago)
- Last Synced: 2024-04-21T03:19:16.763Z (9 months ago)
- Topics: docker, docker-image
- Language: Dockerfile
- Size: 36.1 KB
- Stars: 10
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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 "$@"
}
```