-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
29 lines (26 loc) · 826 Bytes
/
Dockerfile
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
###
# Docker build file for litecoin
###
FROM laseek/coin-builder:latest
MAINTAINER dasher
# deal with installation warnings
ENV TERM xterm
# allow easy versioning of images
ENV TESTING 0.2.0
VOLUME /data/buildOutput
# Now let's build bitcoin
WORKDIR /home/development
RUN git clone https://github.com/litecoin-project/litecoin.git
WORKDIR /home/development/litecoin/src
#
# We have to tweak the buildfile - env vars don't always get applied
#
RUN sed -i "s/USE_UPNP:=0/USE_UPNP:=-/" makefile.unix
ENV LDFLAGS "-static"
ENV USE_UPNP -
ENV USE_IPV6 0
ADD build.sh /home/development/litecoin/src/build.sh
ADD deploy.sh /home/development/litecoin/src/deploy.sh
ADD bootstrap.sh /home/development/litecoin/src/bootstrap.sh
#ENTRYPOINT ["make", "-f", "makefile.unix"]
ENTRYPOINT ["/home/development/litecoin/src/bootstrap.sh"]