-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathDockerfile
55 lines (44 loc) · 1.41 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
# ===============================================================================
# Set the base image to Ubuntu
# FROM ubuntu:16.04
FROM ubuntu:18.04
# FROM ubuntu:20.04
# File Author / Maintainer
MAINTAINER CryptoDevelopmentServices
# ===============================================================================
# Env. Setup
#
# Update repository
RUN apt-get update && apt-get -y upgrade
# ----------------------------------------------------------
# Dependencies
# ----------------------------------------------------------
# Basic Dependencies
#
RUN apt-get install -y git \
telnet \
unzip \
build-essential \
libboost-all-dev \
libssl-dev \
libtool \
vim \
curl \
nginx
# ===============================================================================
# Set working directory
#
WORKDIR /work
COPY docker/nginx-default /etc/nginx/sites-enabled/default
# ===============================================================================
# Install configuration
#
# ===============================================================================
# System Initialization
#
## Copy folders
RUN git clone https://github.com/CryptoDevelopmentServices/Altcoin-Seeder.git /work
RUN cd /work && make
# Set default CMD
CMD service nginx start && /work/dnsseed -h dnsseed.coin.cds -n ns.coin.cds -m [email protected]
EXPOSE 53:53/udp