-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rename release artifacts to tessellate, instead of abbreviated name tess
this also includes a Docker packager configuration, but is disabled until jreleaser 1.8
- Loading branch information
Showing
3 changed files
with
78 additions
and
6 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
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
27 changes: 27 additions & 0 deletions
27
tessellate-main/src/jreleaser/distributions/tessellate/docker/Dockerfile.tpl
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,27 @@ | ||
# {{jreleaserCreationStamp}} | ||
FROM {{dockerBaseImage}} | ||
|
||
{{#dockerLabels}} | ||
LABEL {{.}} | ||
{{/dockerLabels}} | ||
|
||
{{#dockerPreCommands}} | ||
{{.}} | ||
{{/dockerPreCommands}} | ||
|
||
COPY assembly/* / | ||
|
||
RUN unzip {{distributionArtifactFile}} && \ | ||
rm {{distributionArtifactFile}} && \ | ||
chmod +x {{distributionArtifactRootEntryName}}/bin/{{distributionExecutableUnix}} && \ | ||
mv /{{distributionArtifactRootEntryName}} /{{distributionExecutableName}} | ||
|
||
ENV PATH="${PATH}:/{{distributionExecutableName}}/bin" | ||
|
||
{{#dockerPostCommands}} | ||
{{.}} | ||
{{/dockerPostCommands}} | ||
|
||
ENTRYPOINT ["/{{distributionExecutableName}}/bin/{{distributionExecutableName}}"] | ||
|
||
CMD ["--help"] |