Skip to content

Commit

Permalink
Merge pull request #1159 from jsign/fixdocker
Browse files Browse the repository at this point in the history
Dockerfile: fixes
  • Loading branch information
whyrusleeping authored Jan 28, 2020
2 parents eb4b85a + dc076c6 commit 834383b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 93 deletions.
91 changes: 0 additions & 91 deletions Dockerfile

This file was deleted.

6 changes: 4 additions & 2 deletions tools/dockers/docker-examples/basic-miner-busybox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,15 @@ EXPOSE 5678
ENV HOME_PATH /data
ENV PARAMCACHE_PATH /var/tmp/filecoin-proof-parameters

RUN mkdir -p $HOME_PATH \
RUN mkdir -p $HOME_PATH $PARAMCACHE_PATH \
&& adduser -D -h $HOME_PATH -u 1000 -G users lotus \
&& chown lotus:users $HOME_PATH
&& chown lotus:users $HOME_PATH $PARAMCACHE_PATH


VOLUME $HOME_PATH
VOLUME $PARAMCACHE_PATH

USER lotus

# Execute the daemon subcommand by default
CMD ["/sbin/tini", "--", "lotus", "daemon"]

0 comments on commit 834383b

Please sign in to comment.