[rosetta] Use github run.sh instead of copy (#3395)

Signed-off-by: Daniel Van Der Maden <dvandermaden0@berkeley.edu>
pull/3397/head
Daniel Van Der Maden 4 years ago committed by GitHub
parent 7c5da8c7e8
commit 6f782fe54b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 9
      rosetta/infra/Dockerfile

@ -17,13 +17,10 @@ RUN git clone https://github.com/harmony-one/mcl.git
WORKDIR $HMY_PATH/harmony WORKDIR $HMY_PATH/harmony
RUN make linux_static RUN make linux_static
RUN cp ./bin/harmony /root && chmod +x /root/harmony RUN mv ./bin/harmony /root/harmony && chmod +x /root/harmony
RUN mv ./rosetta/infra/run.sh /root/run.sh && chmod +x /root/run.sh
WORKDIR $GOPATH RUN rm -rf $GOPATH
RUN rm -rf *
WORKDIR /root WORKDIR /root
COPY run.sh run.sh
ENTRYPOINT ["/bin/bash","/root/run.sh"] ENTRYPOINT ["/bin/bash","/root/run.sh"]

Loading…
Cancel
Save