Implemented a Dockerfile (#592)
* Implemented a Dockerfile. See skywinder/github-changelog-generator#591 * Set Ferrari Marco as a maintainer * Explicitly install the latest released version
This commit is contained in:
parent
72452a1315
commit
e87b267b0e
16
Dockerfile
Normal file
16
Dockerfile
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
FROM ruby:2.4-alpine3.6
|
||||||
|
|
||||||
|
LABEL maintainer "ferrari.marco@gmail.com"
|
||||||
|
|
||||||
|
ENV GITHUB_CHANGELOG_GENERATOR_VERSION "1.14.3"
|
||||||
|
|
||||||
|
RUN gem install github_changelog_generator --version $GITHUB_CHANGELOG_GENERATOR_VERSION
|
||||||
|
|
||||||
|
ENV SRC_PATH /usr/local/src/your-app
|
||||||
|
RUN mkdir -p $SRC_PATH
|
||||||
|
|
||||||
|
VOLUME [ "$SRC_PATH" ]
|
||||||
|
WORKDIR $SRC_PATH
|
||||||
|
|
||||||
|
CMD ["--help"]
|
||||||
|
ENTRYPOINT ["github_changelog_generator"]
|
|
@ -47,6 +47,10 @@ release (or version) of the project."
|
||||||
|
|
||||||
See also Troubleshooting.
|
See also Troubleshooting.
|
||||||
|
|
||||||
|
## Running with Docker
|
||||||
|
|
||||||
|
docker run -it --rm -v "$(pwd)":/usr/local/src/your-app skywinder/github-changelog-generator
|
||||||
|
|
||||||
## Output example
|
## Output example
|
||||||
|
|
||||||
- Look at **[CHANGELOG.md](https://github.com/skywinder/Github-Changelog-Generator/blob/master/CHANGELOG.md)** for this project
|
- Look at **[CHANGELOG.md](https://github.com/skywinder/Github-Changelog-Generator/blob/master/CHANGELOG.md)** for this project
|
||||||
|
|
Loading…
Reference in New Issue
Block a user