Skip to content

Commit

Permalink
[rosetta] Use github run.sh instead of copy
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Van Der Maden <dvandermaden0@berkeley.edu>
  • Loading branch information
Daniel-VDM committed Oct 20, 2020
1 parent a2266d0 commit f39a861
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions rosetta/infra/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,10 @@ RUN git clone https://github.com/harmony-one/mcl.git
WORKDIR $HMY_PATH/harmony

RUN make linux_static
RUN cp ./bin/harmony /root && chmod +x /root/harmony

WORKDIR $GOPATH

RUN rm -rf *
RUN mv ./bin/harmony /root/harmony && chmod +x /root/harmony
RUN mv ./rosetta/infra/run.sh /root/run.sh && chmod +x /root/run.sh
RUN rm -rf $GOPATH

WORKDIR /root

COPY run.sh run.sh
ENTRYPOINT ["/bin/bash","/root/run.sh"]

0 comments on commit f39a861

Please sign in to comment.