forked from Aither-Architect/dogecoin-docker
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathDockerfile
More file actions
20 lines (16 loc) · 694 Bytes
/
Dockerfile
File metadata and controls
20 lines (16 loc) · 694 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM ubuntu:20.04
RUN apt-get update && apt-get install --no-install-recommends -y \
ca-certificates \
wget \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /wowmuchdocker
EXPOSE 22556
ARG VERSION="1.14.6"
RUN wget https://github.com/dogecoin/dogecoin/releases/download/v${VERSION}/dogecoin-${VERSION}-x86_64-linux-gnu.tar.gz && \
tar -xvzf ./dogecoin-${VERSION}-x86_64-linux-gnu.tar.gz && \
rm ./dogecoin-${VERSION}-x86_64-linux-gnu.tar.gz && \
mv ./dogecoin-${VERSION} ./dogecoin-node && \
cd ./dogecoin-node && \
mkdir data && \
cd ../..
CMD ["/wowmuchdocker/dogecoin-node/bin/dogecoind", "-conf=/etc/doge/dogecoin.conf", "-datadir=/etc/doge", "-printtoconsole"]