-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into migrate-to-exec.d
- Loading branch information
Showing
59 changed files
with
525 additions
and
553 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
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,14 @@ | ||
FROM alpine:3 | ||
|
||
# Install packages that we want to make available at both build and run time | ||
RUN apk add --update --no-cache bash ca-certificates | ||
|
||
# Set required CNB target information | ||
ARG distro_name | ||
LABEL io.buildpacks.base.distro.name=${distro_name} | ||
ARG distro_version | ||
LABEL io.buildpacks.base.distro.version=${distro_version} | ||
|
||
# Set deprecated CNB stack information (see https://buildpacks.io/docs/reference/spec/migration/platform-api-0.11-0.12/#stacks-are-deprecated-1) | ||
ARG stack_id | ||
LABEL io.buildpacks.stack.id="${stack_id}" |
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,25 @@ | ||
ARG base_image | ||
FROM ${base_image} | ||
|
||
# Install packages that we want to make available at build time | ||
RUN apk add --update ca-certificates git jq wget && \ | ||
rm -rf /var/cache/apk/* | ||
|
||
COPY ./bin/yj-linux /usr/local/bin/yj | ||
|
||
# Create user and group | ||
ARG cnb_uid=1000 | ||
ARG cnb_gid=1001 | ||
RUN addgroup -g ${cnb_gid} cnb && \ | ||
adduser -u ${cnb_uid} -G cnb -s /bin/bash -D cnb | ||
|
||
# Set user and group | ||
USER ${cnb_uid}:${cnb_gid} | ||
|
||
# Set required CNB user information | ||
ENV CNB_USER_ID=${cnb_uid} | ||
ENV CNB_GROUP_ID=${cnb_gid} | ||
|
||
# Set deprecated CNB stack information (see https://buildpacks.io/docs/reference/spec/migration/platform-api-0.11-0.12/#stacks-are-deprecated-1) | ||
ARG stack_id | ||
ENV CNB_STACK_ID=${stack_id} |
File renamed without changes.
Oops, something went wrong.