-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Utkarsh Saxena <[email protected]>
- Loading branch information
1 parent
bfc94af
commit b3347d4
Showing
2 changed files
with
58 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,22 @@ | ||
FROM harbor.razorpay.com/razorpay/onggi-multi-arch:rzp-golden-image-base-golang-1.22 | ||
# TODO: c.rzp.io/razorpay/rzp-docker-image-inventory-multi-arch:rzp-golden-image-base-golang-1.22 | ||
|
||
ARG GIT_COMMIT_HASH | ||
ENV GIT_COMMIT_HASH=${GIT_COMMIT_HASH} | ||
ENV TRINO-GATEWAY_APP_GITCOMMITHASH=${GIT_COMMIT_HASH} | ||
|
||
WORKDIR /app | ||
|
||
|
||
RUN apk update \ | ||
&& apk add --no-cache bash make protobuf protobuf-dev git gzip curl build-base | ||
|
||
COPY ./ /app | ||
|
||
RUN go mod download \ | ||
&& make setup build | ||
# RUN go mod vendor | ||
|
||
COPY ./build/docker/prod/probe.sh /app/probe.sh | ||
|
||
ENTRYPOINT /app/build/docker/prod/entrypoint.sh |