This repository has been archived by the owner on Sep 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #439 from oshied/historical-v9
chore: create a fork for gaia which supports historical data
- Loading branch information
Showing
5 changed files
with
38 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,30 @@ | ||
FROM ghcr.io/oshied/base-go1.18:bionic as BUILD | ||
ARG git_repository=https://github.com/cosmos/gaia.git | ||
ARG git_version=main | ||
RUN git clone --recursive --branch $git_version $git_repository /build_dir | ||
WORKDIR /build_dir | ||
RUN sed -i 's@github.com/cosmos/cosmos-sdk =>.*@github.com/cosmos/cosmos-sdk => github.com/notional-labs/cosmos-sdk v0.45.16-0.20230409050322-1846175439ec@' go.mod | ||
RUN sed -i 's@github.com/cosmos/cosmos-sdk v0.45.15-ics h1.*@github.com/notional-labs/cosmos-sdk v0.45.16-0.20230409050322-1846175439ec h1:tLRNo92hab2C+sF4GKPeP45K8ZlizcQ0WeX2NC0Kb9k=@' go.sum | ||
RUN sed -i 's@github.com/cosmos/cosmos-sdk v0.45.15-ics/go.mod h1.*@github.com/notional-labs/cosmos-sdk v0.45.16-0.20230409050322-1846175439ec/go.mod h1:bScuNwWAP0TZJpUf+SHXRU3xGoUPp+X9nAzfeIXts40=@' go.sum | ||
RUN make build | ||
|
||
FROM gcr.io/distroless/base-debian11:latest | ||
ARG git_repository=https://github.com/cosmos/gaia.git | ||
ARG git_version=main | ||
ARG name="gaia-sdk-45-fork" | ||
ARG summary="Distroless container build for ${name}." | ||
LABEL description="${summary}" \ | ||
maintainer="cloudnull.io <kevin@cloudnull.com>" \ | ||
app.kubernetes.io/name="${name}" \ | ||
app.kubernetes.io/version="${git_version}" \ | ||
org.opencontainers.image.title="${name}" \ | ||
org.opencontainers.artifact.description="${summary}" \ | ||
org.opencontainers.image.url="https://github.com/oshied/protocol-forge" \ | ||
org.opencontainers.image.authors="kevin@cloudnull.com" \ | ||
org.opencontainers.image.revision="${git_version}" \ | ||
org.opencontainers.image.source="${git_repository}" \ | ||
org.opencontainers.image.vendor="cloudnull.io" \ | ||
org.opencontainers.image.description="${summary}" | ||
WORKDIR /usr/local/bin | ||
COPY --from=BUILD /build_dir/build/gaiad /usr/local/bin/gaia-sdk-45-fork | ||
ENTRYPOINT ["/usr/local/bin/gaia-sdk-45-fork"] |
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 @@ | ||
/usr/local/bin/gaia-sdk-45-fork |
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,4 @@ | ||
# Distroless container build for gaia | ||
|
||
This release was created to run a forked Gaia which provides the ability to query | ||
historical data. |
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 @@ | ||
v9.0.3 |