Skip to content

Commit

Permalink
Fix release Dockerfile after stellar-rpc rename
Browse files Browse the repository at this point in the history
Also: Make /usr/bin/stellar-soroban-rpc for backwards compatibility
  • Loading branch information
2opremio committed Dec 3, 2024
1 parent f924eba commit febf4cc
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions cmd/stellar-rpc/docker/Dockerfile.release
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit febf4cc

Please sign in to comment.