Skip to content

Commit

Permalink
Use consistent temporary file names (amacneil#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
amacneil authored Sep 13, 2017
1 parent 94f6981 commit 6eb124e
Show file tree
Hide file tree
Showing 62 changed files with 578 additions and 578 deletions.
20 changes: 10 additions & 10 deletions Dockerfile.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,22 +17,22 @@ ENV BITCOIN_PGP_KEY <%= key %>

# install bitcoin binaries
RUN set -ex \
&& BITCOIN_DIST=$(basename $BITCOIN_URL) \
&& wget -qO $BITCOIN_DIST $BITCOIN_URL \
&& echo "$BITCOIN_SHA256 $BITCOIN_DIST" | sha256sum -c - \
&& cd /tmp \
&& wget -qO bitcoin.tar.gz "$BITCOIN_URL" \
&& echo "$BITCOIN_SHA256 bitcoin.tar.gz" | sha256sum -c - \
<% if asc_url -%>
&& gpg --keyserver keyserver.ubuntu.com --recv-keys $BITCOIN_PGP_KEY \
&& wget -qO bitcoin.asc $BITCOIN_ASC_URL \
&& gpg --keyserver keyserver.ubuntu.com --recv-keys "$BITCOIN_PGP_KEY" \
&& wget -qO bitcoin.asc "$BITCOIN_ASC_URL" \
&& gpg --verify bitcoin.asc \
<% end -%>
&& tar -xzvf $BITCOIN_DIST -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm bitcoin*
&& tar -xzvf bitcoin.tar.gz -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm -rf /tmp/*

# create data directory
ENV BITCOIN_DATA /data
RUN mkdir $BITCOIN_DATA \
&& chown -R bitcoin:bitcoin $BITCOIN_DATA \
&& ln -sfn $BITCOIN_DATA /home/bitcoin/.bitcoin \
RUN mkdir "$BITCOIN_DATA" \
&& chown -R bitcoin:bitcoin "$BITCOIN_DATA" \
&& ln -sfn "$BITCOIN_DATA" /home/bitcoin/.bitcoin \
&& chown -h bitcoin:bitcoin /home/bitcoin/.bitcoin
VOLUME /data

Expand Down
16 changes: 8 additions & 8 deletions abc/0.14.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ ENV BITCOIN_SHA256 5e515896efbc2d6f639330146be61fea1ca62913648108d47190c987e539c

# install bitcoin binaries
RUN set -ex \
&& BITCOIN_DIST=$(basename $BITCOIN_URL) \
&& wget -qO $BITCOIN_DIST $BITCOIN_URL \
&& echo "$BITCOIN_SHA256 $BITCOIN_DIST" | sha256sum -c - \
&& tar -xzvf $BITCOIN_DIST -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm bitcoin*
&& cd /tmp \
&& wget -qO bitcoin.tar.gz "$BITCOIN_URL" \
&& echo "$BITCOIN_SHA256 bitcoin.tar.gz" | sha256sum -c - \
&& tar -xzvf bitcoin.tar.gz -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm -rf /tmp/*

# create data directory
ENV BITCOIN_DATA /data
RUN mkdir $BITCOIN_DATA \
&& chown -R bitcoin:bitcoin $BITCOIN_DATA \
&& ln -sfn $BITCOIN_DATA /home/bitcoin/.bitcoin \
RUN mkdir "$BITCOIN_DATA" \
&& chown -R bitcoin:bitcoin "$BITCOIN_DATA" \
&& ln -sfn "$BITCOIN_DATA" /home/bitcoin/.bitcoin \
&& chown -h bitcoin:bitcoin /home/bitcoin/.bitcoin
VOLUME /data

Expand Down
16 changes: 8 additions & 8 deletions abc/0.14.2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ ENV BITCOIN_SHA256 23fbd4aeed885c41d287cec8529ae8f16a7af1ff7571ba63aa6e5a7e52010

# install bitcoin binaries
RUN set -ex \
&& BITCOIN_DIST=$(basename $BITCOIN_URL) \
&& wget -qO $BITCOIN_DIST $BITCOIN_URL \
&& echo "$BITCOIN_SHA256 $BITCOIN_DIST" | sha256sum -c - \
&& tar -xzvf $BITCOIN_DIST -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm bitcoin*
&& cd /tmp \
&& wget -qO bitcoin.tar.gz "$BITCOIN_URL" \
&& echo "$BITCOIN_SHA256 bitcoin.tar.gz" | sha256sum -c - \
&& tar -xzvf bitcoin.tar.gz -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm -rf /tmp/*

# create data directory
ENV BITCOIN_DATA /data
RUN mkdir $BITCOIN_DATA \
&& chown -R bitcoin:bitcoin $BITCOIN_DATA \
&& ln -sfn $BITCOIN_DATA /home/bitcoin/.bitcoin \
RUN mkdir "$BITCOIN_DATA" \
&& chown -R bitcoin:bitcoin "$BITCOIN_DATA" \
&& ln -sfn "$BITCOIN_DATA" /home/bitcoin/.bitcoin \
&& chown -h bitcoin:bitcoin /home/bitcoin/.bitcoin
VOLUME /data

Expand Down
16 changes: 8 additions & 8 deletions abc/0.14.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ ENV BITCOIN_SHA256 403f6e15297414fc29c1b53da1994aa69741fa86afb6ab452fed3c3f14288

# install bitcoin binaries
RUN set -ex \
&& BITCOIN_DIST=$(basename $BITCOIN_URL) \
&& wget -qO $BITCOIN_DIST $BITCOIN_URL \
&& echo "$BITCOIN_SHA256 $BITCOIN_DIST" | sha256sum -c - \
&& tar -xzvf $BITCOIN_DIST -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm bitcoin*
&& cd /tmp \
&& wget -qO bitcoin.tar.gz "$BITCOIN_URL" \
&& echo "$BITCOIN_SHA256 bitcoin.tar.gz" | sha256sum -c - \
&& tar -xzvf bitcoin.tar.gz -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm -rf /tmp/*

# create data directory
ENV BITCOIN_DATA /data
RUN mkdir $BITCOIN_DATA \
&& chown -R bitcoin:bitcoin $BITCOIN_DATA \
&& ln -sfn $BITCOIN_DATA /home/bitcoin/.bitcoin \
RUN mkdir "$BITCOIN_DATA" \
&& chown -R bitcoin:bitcoin "$BITCOIN_DATA" \
&& ln -sfn "$BITCOIN_DATA" /home/bitcoin/.bitcoin \
&& chown -h bitcoin:bitcoin /home/bitcoin/.bitcoin
VOLUME /data

Expand Down
16 changes: 8 additions & 8 deletions abc/0.14.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ ENV BITCOIN_SHA256 4c39e84567e251dc299593643cd45d1efd7cc676e6d619ba506c3359a6a1c

# install bitcoin binaries
RUN set -ex \
&& BITCOIN_DIST=$(basename $BITCOIN_URL) \
&& wget -qO $BITCOIN_DIST $BITCOIN_URL \
&& echo "$BITCOIN_SHA256 $BITCOIN_DIST" | sha256sum -c - \
&& tar -xzvf $BITCOIN_DIST -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm bitcoin*
&& cd /tmp \
&& wget -qO bitcoin.tar.gz "$BITCOIN_URL" \
&& echo "$BITCOIN_SHA256 bitcoin.tar.gz" | sha256sum -c - \
&& tar -xzvf bitcoin.tar.gz -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm -rf /tmp/*

# create data directory
ENV BITCOIN_DATA /data
RUN mkdir $BITCOIN_DATA \
&& chown -R bitcoin:bitcoin $BITCOIN_DATA \
&& ln -sfn $BITCOIN_DATA /home/bitcoin/.bitcoin \
RUN mkdir "$BITCOIN_DATA" \
&& chown -R bitcoin:bitcoin "$BITCOIN_DATA" \
&& ln -sfn "$BITCOIN_DATA" /home/bitcoin/.bitcoin \
&& chown -h bitcoin:bitcoin /home/bitcoin/.bitcoin
VOLUME /data

Expand Down
16 changes: 8 additions & 8 deletions abc/0.14.5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ ENV BITCOIN_SHA256 66968be5add0e8de0526a4195e7bb6efedc973b025e793d3e285e897cfdd9

# install bitcoin binaries
RUN set -ex \
&& BITCOIN_DIST=$(basename $BITCOIN_URL) \
&& wget -qO $BITCOIN_DIST $BITCOIN_URL \
&& echo "$BITCOIN_SHA256 $BITCOIN_DIST" | sha256sum -c - \
&& tar -xzvf $BITCOIN_DIST -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm bitcoin*
&& cd /tmp \
&& wget -qO bitcoin.tar.gz "$BITCOIN_URL" \
&& echo "$BITCOIN_SHA256 bitcoin.tar.gz" | sha256sum -c - \
&& tar -xzvf bitcoin.tar.gz -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm -rf /tmp/*

# create data directory
ENV BITCOIN_DATA /data
RUN mkdir $BITCOIN_DATA \
&& chown -R bitcoin:bitcoin $BITCOIN_DATA \
&& ln -sfn $BITCOIN_DATA /home/bitcoin/.bitcoin \
RUN mkdir "$BITCOIN_DATA" \
&& chown -R bitcoin:bitcoin "$BITCOIN_DATA" \
&& ln -sfn "$BITCOIN_DATA" /home/bitcoin/.bitcoin \
&& chown -h bitcoin:bitcoin /home/bitcoin/.bitcoin
VOLUME /data

Expand Down
16 changes: 8 additions & 8 deletions abc/0.14.6/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ ENV BITCOIN_SHA256 9f37b8ec36a37944b016bbbf07340adb8ba644abb897b2d2e0edeb99ccf70

# install bitcoin binaries
RUN set -ex \
&& BITCOIN_DIST=$(basename $BITCOIN_URL) \
&& wget -qO $BITCOIN_DIST $BITCOIN_URL \
&& echo "$BITCOIN_SHA256 $BITCOIN_DIST" | sha256sum -c - \
&& tar -xzvf $BITCOIN_DIST -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm bitcoin*
&& cd /tmp \
&& wget -qO bitcoin.tar.gz "$BITCOIN_URL" \
&& echo "$BITCOIN_SHA256 bitcoin.tar.gz" | sha256sum -c - \
&& tar -xzvf bitcoin.tar.gz -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm -rf /tmp/*

# create data directory
ENV BITCOIN_DATA /data
RUN mkdir $BITCOIN_DATA \
&& chown -R bitcoin:bitcoin $BITCOIN_DATA \
&& ln -sfn $BITCOIN_DATA /home/bitcoin/.bitcoin \
RUN mkdir "$BITCOIN_DATA" \
&& chown -R bitcoin:bitcoin "$BITCOIN_DATA" \
&& ln -sfn "$BITCOIN_DATA" /home/bitcoin/.bitcoin \
&& chown -h bitcoin:bitcoin /home/bitcoin/.bitcoin
VOLUME /data

Expand Down
16 changes: 8 additions & 8 deletions abc/0.15.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ ENV BITCOIN_SHA256 de8ec283d6d3bb15545b39dc07f3207d7502d51dd98cfeac79e8d78462808

# install bitcoin binaries
RUN set -ex \
&& BITCOIN_DIST=$(basename $BITCOIN_URL) \
&& wget -qO $BITCOIN_DIST $BITCOIN_URL \
&& echo "$BITCOIN_SHA256 $BITCOIN_DIST" | sha256sum -c - \
&& tar -xzvf $BITCOIN_DIST -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm bitcoin*
&& cd /tmp \
&& wget -qO bitcoin.tar.gz "$BITCOIN_URL" \
&& echo "$BITCOIN_SHA256 bitcoin.tar.gz" | sha256sum -c - \
&& tar -xzvf bitcoin.tar.gz -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm -rf /tmp/*

# create data directory
ENV BITCOIN_DATA /data
RUN mkdir $BITCOIN_DATA \
&& chown -R bitcoin:bitcoin $BITCOIN_DATA \
&& ln -sfn $BITCOIN_DATA /home/bitcoin/.bitcoin \
RUN mkdir "$BITCOIN_DATA" \
&& chown -R bitcoin:bitcoin "$BITCOIN_DATA" \
&& ln -sfn "$BITCOIN_DATA" /home/bitcoin/.bitcoin \
&& chown -h bitcoin:bitcoin /home/bitcoin/.bitcoin
VOLUME /data

Expand Down
16 changes: 8 additions & 8 deletions btc1/1.14.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ ENV BITCOIN_SHA256 021e9034163a8707f2714b040dca3728a5fef05f01b8397e989e2401c8bd9

# install bitcoin binaries
RUN set -ex \
&& BITCOIN_DIST=$(basename $BITCOIN_URL) \
&& wget -qO $BITCOIN_DIST $BITCOIN_URL \
&& echo "$BITCOIN_SHA256 $BITCOIN_DIST" | sha256sum -c - \
&& tar -xzvf $BITCOIN_DIST -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm bitcoin*
&& cd /tmp \
&& wget -qO bitcoin.tar.gz "$BITCOIN_URL" \
&& echo "$BITCOIN_SHA256 bitcoin.tar.gz" | sha256sum -c - \
&& tar -xzvf bitcoin.tar.gz -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm -rf /tmp/*

# create data directory
ENV BITCOIN_DATA /data
RUN mkdir $BITCOIN_DATA \
&& chown -R bitcoin:bitcoin $BITCOIN_DATA \
&& ln -sfn $BITCOIN_DATA /home/bitcoin/.bitcoin \
RUN mkdir "$BITCOIN_DATA" \
&& chown -R bitcoin:bitcoin "$BITCOIN_DATA" \
&& ln -sfn "$BITCOIN_DATA" /home/bitcoin/.bitcoin \
&& chown -h bitcoin:bitcoin /home/bitcoin/.bitcoin
VOLUME /data

Expand Down
16 changes: 8 additions & 8 deletions btc1/1.14.4/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ ENV BITCOIN_SHA256 11a15ee91f68edac4aaec2b1188fb9a2cc713592882606977242b4c6b6314

# install bitcoin binaries
RUN set -ex \
&& BITCOIN_DIST=$(basename $BITCOIN_URL) \
&& wget -qO $BITCOIN_DIST $BITCOIN_URL \
&& echo "$BITCOIN_SHA256 $BITCOIN_DIST" | sha256sum -c - \
&& tar -xzvf $BITCOIN_DIST -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm bitcoin*
&& cd /tmp \
&& wget -qO bitcoin.tar.gz "$BITCOIN_URL" \
&& echo "$BITCOIN_SHA256 bitcoin.tar.gz" | sha256sum -c - \
&& tar -xzvf bitcoin.tar.gz -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm -rf /tmp/*

# create data directory
ENV BITCOIN_DATA /data
RUN mkdir $BITCOIN_DATA \
&& chown -R bitcoin:bitcoin $BITCOIN_DATA \
&& ln -sfn $BITCOIN_DATA /home/bitcoin/.bitcoin \
RUN mkdir "$BITCOIN_DATA" \
&& chown -R bitcoin:bitcoin "$BITCOIN_DATA" \
&& ln -sfn "$BITCOIN_DATA" /home/bitcoin/.bitcoin \
&& chown -h bitcoin:bitcoin /home/bitcoin/.bitcoin
VOLUME /data

Expand Down
16 changes: 8 additions & 8 deletions btc1/1.14.5/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ ENV BITCOIN_SHA256 77ed18fe14413778ad37bc0c3cac38ce99268ff37e1c3cb81f3af82d9f40e

# install bitcoin binaries
RUN set -ex \
&& BITCOIN_DIST=$(basename $BITCOIN_URL) \
&& wget -qO $BITCOIN_DIST $BITCOIN_URL \
&& echo "$BITCOIN_SHA256 $BITCOIN_DIST" | sha256sum -c - \
&& tar -xzvf $BITCOIN_DIST -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm bitcoin*
&& cd /tmp \
&& wget -qO bitcoin.tar.gz "$BITCOIN_URL" \
&& echo "$BITCOIN_SHA256 bitcoin.tar.gz" | sha256sum -c - \
&& tar -xzvf bitcoin.tar.gz -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm -rf /tmp/*

# create data directory
ENV BITCOIN_DATA /data
RUN mkdir $BITCOIN_DATA \
&& chown -R bitcoin:bitcoin $BITCOIN_DATA \
&& ln -sfn $BITCOIN_DATA /home/bitcoin/.bitcoin \
RUN mkdir "$BITCOIN_DATA" \
&& chown -R bitcoin:bitcoin "$BITCOIN_DATA" \
&& ln -sfn "$BITCOIN_DATA" /home/bitcoin/.bitcoin \
&& chown -h bitcoin:bitcoin /home/bitcoin/.bitcoin
VOLUME /data

Expand Down
20 changes: 10 additions & 10 deletions classic/0.11.2.cl1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ ENV BITCOIN_PGP_KEY 26646D99CBAEC9B81982EF6029D9EE6B1FC730C1

# install bitcoin binaries
RUN set -ex \
&& BITCOIN_DIST=$(basename $BITCOIN_URL) \
&& wget -qO $BITCOIN_DIST $BITCOIN_URL \
&& echo "$BITCOIN_SHA256 $BITCOIN_DIST" | sha256sum -c - \
&& gpg --keyserver keyserver.ubuntu.com --recv-keys $BITCOIN_PGP_KEY \
&& wget -qO bitcoin.asc $BITCOIN_ASC_URL \
&& cd /tmp \
&& wget -qO bitcoin.tar.gz "$BITCOIN_URL" \
&& echo "$BITCOIN_SHA256 bitcoin.tar.gz" | sha256sum -c - \
&& gpg --keyserver keyserver.ubuntu.com --recv-keys "$BITCOIN_PGP_KEY" \
&& wget -qO bitcoin.asc "$BITCOIN_ASC_URL" \
&& gpg --verify bitcoin.asc \
&& tar -xzvf $BITCOIN_DIST -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm bitcoin*
&& tar -xzvf bitcoin.tar.gz -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm -rf /tmp/*

# create data directory
ENV BITCOIN_DATA /data
RUN mkdir $BITCOIN_DATA \
&& chown -R bitcoin:bitcoin $BITCOIN_DATA \
&& ln -sfn $BITCOIN_DATA /home/bitcoin/.bitcoin \
RUN mkdir "$BITCOIN_DATA" \
&& chown -R bitcoin:bitcoin "$BITCOIN_DATA" \
&& ln -sfn "$BITCOIN_DATA" /home/bitcoin/.bitcoin \
&& chown -h bitcoin:bitcoin /home/bitcoin/.bitcoin
VOLUME /data

Expand Down
20 changes: 10 additions & 10 deletions classic/0.12.0cl1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ ENV BITCOIN_PGP_KEY 26646D99CBAEC9B81982EF6029D9EE6B1FC730C1

# install bitcoin binaries
RUN set -ex \
&& BITCOIN_DIST=$(basename $BITCOIN_URL) \
&& wget -qO $BITCOIN_DIST $BITCOIN_URL \
&& echo "$BITCOIN_SHA256 $BITCOIN_DIST" | sha256sum -c - \
&& gpg --keyserver keyserver.ubuntu.com --recv-keys $BITCOIN_PGP_KEY \
&& wget -qO bitcoin.asc $BITCOIN_ASC_URL \
&& cd /tmp \
&& wget -qO bitcoin.tar.gz "$BITCOIN_URL" \
&& echo "$BITCOIN_SHA256 bitcoin.tar.gz" | sha256sum -c - \
&& gpg --keyserver keyserver.ubuntu.com --recv-keys "$BITCOIN_PGP_KEY" \
&& wget -qO bitcoin.asc "$BITCOIN_ASC_URL" \
&& gpg --verify bitcoin.asc \
&& tar -xzvf $BITCOIN_DIST -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm bitcoin*
&& tar -xzvf bitcoin.tar.gz -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm -rf /tmp/*

# create data directory
ENV BITCOIN_DATA /data
RUN mkdir $BITCOIN_DATA \
&& chown -R bitcoin:bitcoin $BITCOIN_DATA \
&& ln -sfn $BITCOIN_DATA /home/bitcoin/.bitcoin \
RUN mkdir "$BITCOIN_DATA" \
&& chown -R bitcoin:bitcoin "$BITCOIN_DATA" \
&& ln -sfn "$BITCOIN_DATA" /home/bitcoin/.bitcoin \
&& chown -h bitcoin:bitcoin /home/bitcoin/.bitcoin
VOLUME /data

Expand Down
20 changes: 10 additions & 10 deletions classic/0.12.1cl1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,20 @@ ENV BITCOIN_PGP_KEY C07B28FD422F1B49E78889F5C2A5545EA91CCAE7

# install bitcoin binaries
RUN set -ex \
&& BITCOIN_DIST=$(basename $BITCOIN_URL) \
&& wget -qO $BITCOIN_DIST $BITCOIN_URL \
&& echo "$BITCOIN_SHA256 $BITCOIN_DIST" | sha256sum -c - \
&& gpg --keyserver keyserver.ubuntu.com --recv-keys $BITCOIN_PGP_KEY \
&& wget -qO bitcoin.asc $BITCOIN_ASC_URL \
&& cd /tmp \
&& wget -qO bitcoin.tar.gz "$BITCOIN_URL" \
&& echo "$BITCOIN_SHA256 bitcoin.tar.gz" | sha256sum -c - \
&& gpg --keyserver keyserver.ubuntu.com --recv-keys "$BITCOIN_PGP_KEY" \
&& wget -qO bitcoin.asc "$BITCOIN_ASC_URL" \
&& gpg --verify bitcoin.asc \
&& tar -xzvf $BITCOIN_DIST -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm bitcoin*
&& tar -xzvf bitcoin.tar.gz -C /usr/local --strip-components=1 --exclude=*-qt \
&& rm -rf /tmp/*

# create data directory
ENV BITCOIN_DATA /data
RUN mkdir $BITCOIN_DATA \
&& chown -R bitcoin:bitcoin $BITCOIN_DATA \
&& ln -sfn $BITCOIN_DATA /home/bitcoin/.bitcoin \
RUN mkdir "$BITCOIN_DATA" \
&& chown -R bitcoin:bitcoin "$BITCOIN_DATA" \
&& ln -sfn "$BITCOIN_DATA" /home/bitcoin/.bitcoin \
&& chown -h bitcoin:bitcoin /home/bitcoin/.bitcoin
VOLUME /data

Expand Down
Loading

0 comments on commit 6eb124e

Please sign in to comment.