Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unnecessary packages and steps from the image #481

Merged
merged 1 commit into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ EXPOSE 11625
EXPOSE 11626

ADD dependencies /
RUN ["chmod", "+x", "dependencies"]
RUN /dependencies

RUN apt-get -y install libunwind8 postgresql curl sqlite libc++abi1-12 libc++1-12
COPY --from=stellar-core /usr/local/bin/stellar-core /usr/bin/stellar-core

COPY --from=horizon /go/bin/horizon /usr/bin/stellar-horizon
Expand Down
9 changes: 5 additions & 4 deletions dependencies
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@ set -e
# dependencies
export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install -y curl wget git apt-transport-https \
libpq-dev libsqlite3-dev libsasl2-dev \
apt-get install -y curl apt-transport-https \
postgresql-client postgresql postgresql-contrib \
sudo vim zlib1g-dev supervisor psmisc \
nginx rsync jq netcat # Parsing stellar-core JSON for standalone network and checking core HTTP server
sudo supervisor psmisc \
nginx rsync jq netcat \
libunwind8 sqlite libc++abi1-12 libc++1-12
apt-get clean
rm -rf /var/lib/apt/lists/*

chown -R www-data:www-data /var/lib/nginx

Expand Down