Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker #19

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
18 changes: 18 additions & 0 deletions Dockerfile
@@ -0,0 +1,18 @@
FROM ubuntu:16.04

ENV MONERO_VERSION 0.11.0.0
ENV MONERO_SHA256 fa7742c822f3c966aa842bf20a9920803d690d9db02033d9b397cefc7cc07ff4


RUN apt-get -y update && apt-get install -y \
bzip2 \
curl

RUN curl https://downloads.getmonero.org/cli/monero-linux-x64-v${MONERO_VERSION}.tar.bz2 > /tmp/monero.tar.bz2

RUN echo "${MONERO_SHA256} /tmp/monero.tar.bz2" | sha256sum -c

RUN tar -xf /tmp/monero.tar.bz2 -C /tmp \
&& mv /tmp/monero-v${MONERO_VERSION}/* /usr/local/bin/ \
&& rm -rf /tmp/monero-v${MONERO_VERSION}