strangelove-ventures / heighliner

Repository of docker images for the node software of Cosmos chains
Apache License 2.0
54 stars 46 forks source link

injective woes #213

Open PFC-developer opened 7 months ago

PFC-developer commented 7 months ago

couple of minor issues with injective build.

  1. injective-exchange isn't present in their most recent zip files.
  2. peggo fails to run due to certificate issues
  3. jq isn't present (it is in other heighliners)

my solution to this was to modify none/Dockerfile (for point 2 & 3)

diff --git a/dockerfile/none/Dockerfile b/dockerfile/none/Dockerfile
index ad520c5..53172c2 100644
--- a/dockerfile/none/Dockerfile
+++ b/dockerfile/none/Dockerfile
@@ -37,7 +37,9 @@ FROM debian:bullseye
 # FROM ubuntu:22.04

 LABEL org.opencontainers.image.source="https://github.com/strangelove-ventures/heighliner"
-
+RUN apt update -y
+RUN apt install -y jq ca-certificates curl
+RUN /usr/sbin/update-ca-certificates
 # Install binaries
 COPY --from=build-env /root/bin /usr/bin
PFC-developer commented 7 months ago

fyi.. put it up as an issue, because you usually have better ways of doing this kind of thing. (also chains.yaml needs to remove injective-exchange) .. most recent tag is v1.12.1-1705909076

boojamya commented 6 months ago

Injective is now open source. Build process can be streamlined like other chains.