forked from stellar/quickstart
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile.testing
37 lines (27 loc) · 861 Bytes
/
Dockerfile.testing
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
FROM ubuntu:20.04
MAINTAINER Bartek Nowotarski <[email protected]>
ENV STELLAR_CORE_VERSION 17.0.0-557.096f6a7.focal
ENV HORIZON_VERSION 2.2.0-59
EXPOSE 5432
EXPOSE 8000
EXPOSE 6060
EXPOSE 11625
EXPOSE 11626
ADD dependencies /
RUN ["chmod", "+x", "dependencies"]
RUN /dependencies
ADD install /
RUN ["chmod", "+x", "install"]
RUN /install
RUN ["mkdir", "-p", "/opt/stellar"]
RUN ["touch", "/opt/stellar/.docker-ephemeral"]
RUN ["ln", "-s", "/opt/stellar", "/stellar"]
RUN ["ln", "-s", "/opt/stellar/core/etc/stellar-core.cfg", "/stellar-core.cfg"]
RUN ["ln", "-s", "/opt/stellar/horizon/etc/horizon.env", "/horizon.env"]
ADD common /opt/stellar-default/common
ADD pubnet /opt/stellar-default/pubnet
ADD testnet /opt/stellar-default/testnet
ADD standalone /opt/stellar-default/standalone
ADD start /
RUN ["chmod", "+x", "start"]
ENTRYPOINT ["/start"]