Add Dockerfile with hindent for easy use via Docker #572
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There are Docker Hub hooks in the
hooks
folder to automatically build and push a Docker image with the given hindent version (for example, with a Docker Hub rule that triggers on Git tags).The Dockerfile can be tested with
The Bash scripts have been linted with ShellCheck as in
This addresses #571.
A Docker Hub autobuild rule would need to be configured separately. Example of a rule that would trigger on a Git tag push:
This build rule assumes that the package is uploaded to Hackage before the corresponding tag is pushed to GitHub, so that the triggered
stack install …
in theDockerfile
can access the just uploaded package version.I can help configuring a Docker Hub repository
mihaimaruseac/hindent
, but it should probably be owned by the same people as the code base.