forked from fibos123/docker-fibos-node
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
23 lines (17 loc) · 703 Bytes
/
Copy pathDockerfile
File metadata and controls
23 lines (17 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM ubuntu:latest
WORKDIR /fibos
RUN apt-get update -y \
&& apt-get install -y curl sudo wget libusb-1.0-0 libcurl3-gnutls libncurses5 \
&& wget "http://security.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5_amd64.deb" \
&& dpkg -i libssl1.0.0_1.0.2n-1ubuntu5_amd64.deb \
&& rm libssl1.0.0_1.0.2n-1ubuntu5_amd64.deb \
&& wget "http://security.ubuntu.com/ubuntu/pool/main/i/icu/libicu55_55.1-7_amd64.deb" \
&& dpkg -i libicu55_55.1-7_amd64.deb \
&& rm libicu55_55.1-7_amd64.deb
RUN curl -s https://fibos.io/download/installer.sh?v1.7.1.13 | sh
ADD genesis.json .
ADD start.js .
ADD p2p.json .
ADD start.sh .
EXPOSE 8080
ENTRYPOINT ["bash", "/fibos/start.sh"]