forked from github-linguist/linguist
-
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.
Adding Earthly language (github-linguist#5613)
* Adding Earthly and its Earthfiles * Removing `.earthfile` extension * Adding missing grammar license file Co-authored-by: Colin Seymour <[email protected]>
- Loading branch information
Showing
7 changed files
with
419 additions
and
0 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM openjdk:8-jdk-alpine | ||
RUN apk add --update --no-cache gradle | ||
WORKDIR /java-example | ||
|
||
deps: | ||
COPY build.gradle ./ | ||
RUN gradle build | ||
|
||
build: | ||
FROM +deps | ||
COPY src src | ||
RUN gradle build | ||
RUN gradle install | ||
SAVE ARTIFACT build/install/java-example/bin AS LOCAL build/bin | ||
SAVE ARTIFACT build/install/java-example/lib AS LOCAL build/lib | ||
|
||
docker: | ||
COPY +build/bin bin | ||
COPY +build/lib lib | ||
ENTRYPOINT ["/java-example/bin/java-example"] | ||
SAVE IMAGE --push earthly/examples:java |
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
Submodule earthfile-grammar
added at
7e1511
Oops, something went wrong.