Skip to content

Commit

Permalink
add redis-tools to dockerfile as a test-only dep
Browse files Browse the repository at this point in the history
  • Loading branch information
jayz22 committed Jul 26, 2024
1 parent d78f48e commit f351c0a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ EXPOSE 11626
VOLUME /data
VOLUME /postgresql-unix-sockets

ARG STELLAR_CORE_VERSION

ADD setup /
RUN /setup

ARG STELLAR_CORE_VERSION

#install stellar-core
RUN wget -qO - https://apt.stellar.org/SDF.asc | apt-key add -
RUN echo "deb https://apt.stellar.org ${DISTRO} unstable" | tee -a /etc/apt/sources.list.d/SDF-unstable.list
Expand Down
5 changes: 5 additions & 0 deletions docker/setup
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ apt-get install -y wget curl python-six python3-colorama python3-pip postgresql-

pip3 install awscli --upgrade # for uploading history to s3

# install test dependencies if STELLAR_CORE_VERSION ends with '~buildtests'
if [[ "$STELLAR_CORE_VERSION" == *~buildtests ]]; then
apt-get install -y redis-tools
fi

# purge stuff we don't directly need
apt-get purge -y sgml-base ucf gcc g++ xz-utils libpod-latex-perl dbus
apt-get autoremove -y
Expand Down

0 comments on commit f351c0a

Please sign in to comment.