-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #37 ARM images cannot be statically linked, as there's no GraalVM for arm/v7, so the image is slightly bigger than the amd64 one. Note: This only adds ARM docker containers, if you need a binary, use the `tgtg.jar` from the release
- Loading branch information
1 parent
7da8c85
commit ce9b0aa
Showing
3 changed files
with
128 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
FROM busybox | ||
|
||
ARG LOCAL_PATH | ||
WORKDIR /opt/app | ||
|
||
ENV TINI_VERSION v0.19.0 | ||
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini | ||
RUN chmod +x /tini | ||
|
||
COPY ${LOCAL_PATH} tgtg | ||
ENTRYPOINT ["/tini", "--", "/tgtg"] | ||
ARG LOCAL_PATH | ||
COPY ${LOCAL_PATH} tgtg | ||
|
||
ENTRYPOINT ["/tini", "--", "/opt/app/tgtg"] |
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,9 @@ | ||
ARG ARCH= | ||
FROM ${ARCH}eclipse-temurin:17 | ||
|
||
WORKDIR /opt/app | ||
|
||
ARG LOCAL_PATH | ||
COPY ${LOCAL_PATH} tgtg.jar | ||
|
||
ENTRYPOINT ["java", "-jar", "/opt/app/tgtg.jar"] |