Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gschlager/docker-slrnpull
Docker image for slrnpull
https://github.com/gschlager/docker-slrnpull
docker-image slrnpull
Last synced: 10 days ago
JSON representation
Docker image for slrnpull
- Host: GitHub
- URL: https://github.com/gschlager/docker-slrnpull
- Owner: gschlager
- License: mit
- Created: 2016-10-18T21:01:39.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-05-24T19:46:24.000Z (over 7 years ago)
- Last Synced: 2024-12-18T14:14:34.956Z (18 days ago)
- Topics: docker-image, slrnpull
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-slrnpull
Docker image for slrnpull which is part of the [slrn newsreader](http://slrn.sourceforge.net/).[![](https://images.microbadger.com/badges/image/gschlager/slrnpull.svg)](https://microbadger.com/images/gschlager/slrnpull)
## How to use
* Create a directory which will be used as spool directory for slrnpull
```bash
mkdir ~/slrnpull
```
* Create a configuration file based on this example [slrnpull.conf](http://slrn.sourceforge.net/docs/slrnpull/slrnpull.conf)
```bash
wget http://slrn.sourceforge.net/docs/slrnpull/slrnpull.conf ~/slrnpull/slrnpull.conf
```
* Run *slrnpull* by mounting your spool directory. You find all the supported command line options in [slrnpull's README](http://slrn.sourceforge.net/docs/slrnpull/README)
```bash
docker run -it -v ~/slrnpull:/var/spool/slrnpull gschlager/slrnpull --help
```## Bash script
The following bash script runs slrnpull and uses the current directory as spool directory. It needs to contain the `slrnpull.conf` file.```bash
#!/bin/bashdocker run -it -v ${PWD}:/var/spool/slrnpull gschlager/slrnpull $@
```Put the script whereever you want (e.g. `/usr/local/bin/slrnpull`) and make it runable (`chmod +x slrnpull`).