-
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.
ystack's y-deno is unmaintained so build runtime from official
deno distroless image instead
- Loading branch information
Showing
4 changed files
with
53 additions
and
16 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,15 +1,9 @@ | ||
FROM yolean/builder-quarkus as libs | ||
|
||
RUN y-deno -V | ||
FROM denoland/deno:distroless-2.1.1@sha256:8c7fbba4e216e9535ac9869744ce36e225814aa3adc7754fdeb5930a2a86f34f AS deno | ||
|
||
FROM --platform=$TARGETPLATFORM gcr.io/distroless/static-debian12:nonroot@sha256:d71f4b239be2d412017b798a0a401c44c3049a3ca454838473a4c32ed076bfea | ||
|
||
COPY --from=libs \ | ||
/usr/lib/x86_64-linux-gnu/libgcc_s.so.* \ | ||
/usr/lib/x86_64-linux-gnu/ | ||
|
||
COPY --from=libs \ | ||
/usr/local/src/ystack/bin/deno /deno | ||
COPY --from=deno \ | ||
/bin/deno /usr/local/bin/deno | ||
|
||
ENTRYPOINT ["/deno"] | ||
ENTRYPOINT ["/usr/local/bin/deno"] | ||
CMD ["-V"] |
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,8 +1,6 @@ | ||
FROM yolean/builder-base as base | ||
|
||
RUN y-deno -V | ||
FROM yolean/runtime-deno AS runtime-deno | ||
|
||
FROM yolean/runtime-quarkus-ubuntu | ||
|
||
COPY --from=base \ | ||
/usr/local/src/ystack/bin/deno /usr/local/bin/deno | ||
COPY --from=runtime-deno \ | ||
/usr/local/bin/deno /usr/local/bin/deno |
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