Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a Docker image to run the changelog (#546)
Signed-off-by: James Couball <jcouball@yahoo.com>
- Loading branch information
Showing
2 changed files
with
48 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
FROM rust | ||
|
||
# Build the docker image (from this project's root directory): | ||
# docker build --file Dockerfile.changelog-rs --tag changelog-rs . | ||
# | ||
# Use this image to output a changelog (from this project's root directory): | ||
# docker run --rm --volume "$PWD:/worktree" changelog-rs v1.9.1 v1.10.0 | ||
|
||
RUN cargo install changelog-rs | ||
WORKDIR /worktree | ||
|
||
ENTRYPOINT ["/usr/local/cargo/bin/changelog-rs", "/worktree"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters