文章目录
一、生成Omni Core v0.11.0版本镜像
# cd /opt/docker/usdt-image/usdt-0.11.0
# vim Dockerfile
FROM buildpack-deps:jessie-curl
RUN wget -O omnicore.tar.gz https://github.com/OmniLayer/omnicore/releases/download/v0.11.0/omnicore-0.11.0-x86_64-linux-gnu.tar.gz \
&& tar -xzvf omnicore.tar.gz \
&& cd omnicore-0.11.0/bin \
&& mv bitcoin-tx omnicore-cli omnicored omnicore-qt /usr/local/bin \
&& apt-get update \
&& apt-get install net-tools
EXPOSE 8333 8332
WORKDIR /root/.bitcoin
ENTRYPOINT ["omnicored"]
docker build . -t btc/omnicore