Last active
August 27, 2020 03:00
-
-
Save blockpane/24c582a2feb652af19b369e76d05e285 to your computer and use it in GitHub Desktop.
FIO dockerfile
This file contains hidden or 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
FROM ubuntu:18.04 | |
RUN apt-get update; apt-get -y dist-upgrade; apt-get -y install wget jq | |
RUN wget "https://bin.fioprotocol.io/mainnet/fioprotocol-2.0.x-latest-ubuntu-18.04-amd64.deb" && \ | |
apt-get install -y ./fioprotocol-2.0.x-latest-ubuntu-18.04-amd64.deb && rm -f ./fioprotocol-2.0.x-latest-ubuntu-18.04-amd64.deb | |
# testnet: | |
#WORKDIR /etc/fio/nodeos | |
#RUN rm -f config.ini genesis.json && ln -s genesis-testnet.json genesis.json && ln -s testnet-config.ini config.ini | |
EXPOSE 8888/tcp | |
EXPOSE 3856/tcp | |
USER fio | |
WORKDIR /var/lib/fio | |
CMD ["/usr/local/bin/fio-nodeos-run"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment