From aca62493b4de1ec56ad78d068614dc3f6d847304 Mon Sep 17 00:00:00 2001 From: shawn Date: Wed, 17 Apr 2024 11:04:58 -0700 Subject: [PATCH] added jq to rpc image for readiness probe usage (#143) --- cmd/soroban-rpc/docker/Dockerfile | 2 +- cmd/soroban-rpc/docker/Dockerfile.release | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/soroban-rpc/docker/Dockerfile b/cmd/soroban-rpc/docker/Dockerfile index d903fbfb..cbe03a87 100644 --- a/cmd/soroban-rpc/docker/Dockerfile +++ b/cmd/soroban-rpc/docker/Dockerfile @@ -28,7 +28,7 @@ ENV STELLAR_CORE_BINARY_PATH /usr/bin/stellar-core ENV DEBIAN_FRONTEND=noninteractive # ca-certificates are required to make tls connections -RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl wget gnupg apt-utils +RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl jq wget gnupg apt-utils RUN wget -qO - https://apt.stellar.org/SDF.asc | APT_KEY_DONT_WARN_ON_DANGEROUS_USAGE=true apt-key add - RUN echo "deb https://apt.stellar.org focal stable" >/etc/apt/sources.list.d/SDF.list RUN echo "deb https://apt.stellar.org focal unstable" >/etc/apt/sources.list.d/SDF-unstable.list diff --git a/cmd/soroban-rpc/docker/Dockerfile.release b/cmd/soroban-rpc/docker/Dockerfile.release index de894a8b..ca67a03f 100644 --- a/cmd/soroban-rpc/docker/Dockerfile.release +++ b/cmd/soroban-rpc/docker/Dockerfile.release @@ -8,7 +8,7 @@ ENV STELLAR_CORE_BINARY_PATH /usr/bin/stellar-core ENV DEBIAN_FRONTEND=noninteractive # ca-certificates are required to make tls connections -RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl wget gnupg apt-utils gpg && \ +RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates curl jq wget gnupg apt-utils gpg && \ curl -sSL https://apt.stellar.org/SDF.asc | gpg --dearmor >/etc/apt/trusted.gpg.d/SDF.gpg && \ echo "deb https://apt.stellar.org focal stable" >/etc/apt/sources.list.d/SDF.list && \ echo "deb https://apt.stellar.org focal testing" >/etc/apt/sources.list.d/SDF-testing.list && \