From 6f782fe54b2561ec3a3fc0f844844ed4de162156 Mon Sep 17 00:00:00 2001 From: Daniel Van Der Maden Date: Mon, 19 Oct 2020 17:57:37 -0700 Subject: [PATCH] [rosetta] Use github run.sh instead of copy (#3395) Signed-off-by: Daniel Van Der Maden --- rosetta/infra/Dockerfile | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/rosetta/infra/Dockerfile b/rosetta/infra/Dockerfile index bb0257718..d53f6be53 100644 --- a/rosetta/infra/Dockerfile +++ b/rosetta/infra/Dockerfile @@ -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"]