-
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.
adds curl-yq image: we frequently need to process response bodies
- Loading branch information
Showing
3 changed files
with
47 additions
and
1 deletion.
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
ARG TAG_CURL=8.9.1 | ||
|
||
FROM --platform=$TARGETPLATFORM yolean/builder-base as ystack-runner | ||
|
||
FROM --platform=$TARGETPLATFORM ghcr.io/yolean/curl:${TAG_CURL} | ||
|
||
COPY --from=ystack-runner /usr/local/src/ystack/bin/y-yq-v* /usr/bin/yq | ||
|
||
# bypass entrypoint.sh | ||
ENTRYPOINT ["/usr/bin/curl"] | ||
|
||
# so we get root/nonroot build | ||
USER root |
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