Update Dockerfile with comments
- Add comments to Dockerfile - Put comments on top of Dockerfile
This commit is contained in:
parent
aebff274db
commit
a80bc56f27
1 changed files with 10 additions and 4 deletions
14
Dockerfile
14
Dockerfile
|
@ -1,15 +1,21 @@
|
|||
#
|
||||
# Dockerfile for xmrig
|
||||
# usage: docker build -t xmrig:latest.
|
||||
# run: docker run --name xmrig --restart unless-stopped -d xmrig:latest [XMRIG EXECUTABLE ARGUMENTS]
|
||||
#
|
||||
|
||||
FROM ubuntu:16.04
|
||||
|
||||
ENV HOME_DIR /root
|
||||
ENV XMRIG_DIR $HOME_DIR/xmrig
|
||||
ENV XMRIG_BUILD_DIR $XMRIG_DIR/build
|
||||
|
||||
RUN apt-get update && apt-get install -y software-properties-common
|
||||
|
||||
RUN add-apt-repository ppa:jonathonf/gcc-7.1 -y
|
||||
|
||||
RUN apt-get update && apt-get install git build-essential cmake libuv1-dev libmicrohttpd-dev gcc-7 g++-7 -y
|
||||
|
||||
ENV HOME_DIR /root
|
||||
ENV XMRIG_DIR $HOME_DIR/xmrig
|
||||
ENV XMRIG_BUILD_DIR $XMRIG_DIR/build
|
||||
|
||||
WORKDIR $HOME_DIR
|
||||
|
||||
RUN git clone https://github.com/xmrig/xmrig.git
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue