Skip to content

Commit

Permalink
Merge pull request #24 from pirl/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
masterdubs authored Sep 30, 2017
2 parents 7836aa2 + 792e7d8 commit 6efd8f4
Show file tree
Hide file tree
Showing 5 changed files with 110 additions and 199 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
FROM alpine:3.6

##FROM ubuntu
ADD . /pirl
RUN apk add --update bash && rm -rf /var/cache/apk/*
RUN \
apk add --no-cache git go make gcc musl-dev linux-headers && \
(cd pirl && make pirl) && \
cp pirl/build/bin/pirl /usr/local/bin/ && \
apk del git go make gcc musl-dev linux-headers && \
rm -rf /pirl
ADD start.sh /root/start.sh

EXPOSE 6588 30303 30303/udp

ENTRYPOINT ["pirl"]
ENTRYPOINT /root/start.sh
Loading

0 comments on commit 6efd8f4

Please sign in to comment.