-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathDockerfile
43 lines (34 loc) · 874 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Update new packages
FROM ubuntu:22.04
LABEL maintainer="dev@mara.tech"
LABEL version="0.1"
LABEL description="Docker file for coordinate"
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get install -y \
build-essential \
libtool \
autotools-dev \
automake \
pkg-config \
bsdmainutils \
python3 \
libevent-dev \
libboost-dev \
libsqlite3-dev \
libminiupnpc-dev \
libnatpmp-dev \
libzmq3-dev \
systemtap-sdt-dev \
curl
#Setup base directory
RUN mkdir -p /opt/coordinate
WORKDIR /opt/coordinate
COPY . ./
#Configure sidechain node
WORKDIR /opt/coordinate
RUN ./autogen.sh \
&& ./configure --without-gui \
&& make
ENTRYPOINT ["./src/coordinated"]
CMD []