From 05947eaadfbbf7f702659fa42fbe208f30343d26 Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Wed, 4 Dec 2024 15:11:30 +0100 Subject: [PATCH] Fix release Dockerfile after stellar-rpc rename (#335) Also: Make /usr/bin/stellar-soroban-rpc for backwards compatibility --- cmd/stellar-rpc/docker/Dockerfile.release | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/cmd/stellar-rpc/docker/Dockerfile.release b/cmd/stellar-rpc/docker/Dockerfile.release index 5b03b7a9..898172a3 100644 --- a/cmd/stellar-rpc/docker/Dockerfile.release +++ b/cmd/stellar-rpc/docker/Dockerfile.release @@ -14,7 +14,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates echo "deb https://apt.stellar.org focal testing" >/etc/apt/sources.list.d/SDF-testing.list && \ echo "deb https://apt.stellar.org focal unstable" >/etc/apt/sources.list.d/SDF-unstable.list && \ apt-get update && \ - apt-get install -y stellar-core=${STELLAR_CORE_VERSION} stellar-stellar-rpc=${STELLAR_RPC_VERSION} && \ + apt-get install -y stellar-core=${STELLAR_CORE_VERSION} stellar-rpc=${STELLAR_RPC_VERSION} && \ apt-get clean -ENTRYPOINT ["/usr/bin/stellar-stellar-rpc"] +# TODO: for backwards compatibility, remove when fully deprecating the soroban-rpc name +RUN ln -s /usr/bin/stellar-soroban-rpc /usr/bin/stellar-rpc + +ENTRYPOINT ["/usr/bin/stellar-rpc"]