Created
June 11, 2022 14:34
-
-
Save ImanMousavi/531cb463d0b46a051ee420fc0c21bcbd to your computer and use it in GitHub Desktop.
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
ARG version=1.14.4 | |
ARG file=dogecoin-${version}-x86_64-linux-gnu.tar.gz | |
ARG folder=dogecoin-${version} | |
FROM debian:stable as stage1 | |
ARG version | |
ARG file | |
ARG folder | |
WORKDIR /the/workdir | |
RUN apt update | |
RUN apt install -y wget | |
RUN wget https://github.com/dogecoin/dogecoin/releases/download/v${version}/${file} | |
RUN tar -vxf ${file} | |
RUN chmod +x /the/workdir/${folder}/bin/dogecoind | |
FROM photon | |
ARG folder | |
COPY --from=stage1 /the/workdir/${folder}/bin/dogecoind /app/dogecoind | |
VOLUME /data | |
EXPOSE 22555 22556 44555 44556 | |
CMD ["/app/dogecoind"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment