This repository has been archived by the owner on Aug 19, 2022. It is now read-only.
forked from larryk85/DUNE
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #19 from eosnetworkfoundation/larryk85/v1
add version and windows fixes
- Loading branch information
Showing
7 changed files
with
61 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* text=auto | ||
*.sh text eol=lf |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
# syntax=docker/dockerfile:1 | ||
FROM ubuntu:20.04 | ||
|
||
ARG USER_ID | ||
ARG GROUP_ID | ||
|
||
RUN apt-get update | ||
RUN apt-get update --fix-missing | ||
RUN DEBIAN_FRONTEND=noninteractive TZ=Etc/UTC apt-get -y install tzdata | ||
RUN apt-get -y install zip unzip libncurses5 wget git build-essential cmake curl libboost-all-dev libcurl4-openssl-dev libgmp-dev libssl-dev libusb-1.0.0-dev libzstd-dev time pkg-config llvm-11-dev nginx npm yarn jq gdb lldb | ||
RUN npm install -D webpack-cli | ||
RUN npm install -D webpack | ||
RUN npm install -D webpack-dev-server | ||
|
||
WORKDIR /app | ||
|
||
COPY ./scripts/ . | ||
RUN chmod +x bootstrap_env.sh | ||
RUN chmod +x start_node.sh | ||
RUN chmod +x setup_system.sh | ||
RUN chmod +x write_context.sh | ||
RUN mv my_init /sbin | ||
|
||
RUN ./bootstrap_env.sh | ||
RUN ./setup_system.sh | ||
|
||
RUN mkdir /home/www-data/nodes | ||
RUN cp /app/config.ini /home/www-data/config.ini | ||
|
||
# thanks to github.com/phusion | ||
# this should solve reaping issues of stopped nodes | ||
CMD ["/sbin/my_init"] | ||
|
||
# port for nodeos p2p | ||
EXPOSE 9876 | ||
# port for nodeos http | ||
EXPOSE 8888 | ||
# port for state history | ||
EXPOSE 8080 | ||
# port for webapp | ||
EXPOSE 8000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters