-
Notifications
You must be signed in to change notification settings - Fork 500
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into func_buffered
- Loading branch information
Showing
4 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# install both horizon and core from apt "testing" pool | ||
FROM ubuntu:focal | ||
|
||
ARG VERSION | ||
ARG STELLAR_CORE_VERSION | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
ARG ALLOW_CORE_UNSTABLE=no | ||
|
||
RUN apt-get update && apt-get install -y wget apt-transport-https gnupg2 && \ | ||
wget -qO /etc/apt/trusted.gpg.d/SDF.asc https://apt.stellar.org/SDF.asc && \ | ||
echo "deb https://apt.stellar.org focal testing" | tee -a /etc/apt/sources.list.d/SDF.list && \ | ||
cat /etc/apt/sources.list.d/SDF.list && \ | ||
apt-get update && \ | ||
apt-cache madison stellar-core && eval "apt-get install -y stellar-core${STELLAR_CORE_VERSION+=$STELLAR_CORE_VERSION}" && \ | ||
apt-cache madison stellar-horizon && apt-get install -y stellar-horizon=${VERSION} && \ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*.log /var/log/*/*.log | ||
|
||
EXPOSE 8000 | ||
ENTRYPOINT ["/usr/bin/stellar-horizon"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
# install Core from apt "stable"and horizon from apt "stable" pool | ||
FROM ubuntu:focal | ||
|
||
ARG VERSION | ||
ARG STELLAR_CORE_VERSION | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
ARG ALLOW_CORE_UNSTABLE=no | ||
|
||
RUN apt-get update && apt-get install -y wget apt-transport-https gnupg2 && \ | ||
wget -qO /etc/apt/trusted.gpg.d/SDF.asc https://apt.stellar.org/SDF.asc && \ | ||
echo "deb https://apt.stellar.org focal stable" | tee -a /etc/apt/sources.list.d/SDF.list && \ | ||
cat /etc/apt/sources.list.d/SDF.list && \ | ||
apt-get update && apt-cache madison stellar-core && eval "apt-get install -y stellar-core${STELLAR_CORE_VERSION+=$STELLAR_CORE_VERSION}" && \ | ||
apt-cache madison stellar-horizon && apt-get install -y stellar-horizon=${VERSION} && \ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* /var/log/*.log /var/log/*/*.log | ||
|
||
EXPOSE 8000 | ||
ENTRYPOINT ["/usr/bin/stellar-horizon"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters