clean Docker

[ci-skip]
This commit is contained in:
Denis S. Soldatov aka General-Beck 2017-02-15 21:40:23 +04:00 committed by GitHub
parent 34d8498a2c
commit c808954413

View File

@ -62,8 +62,9 @@ RUN git clone https://github.com/ethcore/parity && \
ls /build/parity/target/release/parity && \
strip /build/parity/target/release/parity
RUN file /build/parity/target/release/parity
RUN rm -rf /root/.cargo&&rm -rf /root/.multirust&&rm -rf /root/.rustup
RUN file /build/parity/target/release/parity&&cp /build/parity/target/release/parity /parity
#cleanup Docker image
RUN rm -rf /root/.cargo&&rm -rf /root/.multirust&&rm -rf /root/.rustup&&rm -rf /build
EXPOSE 8080 8545 8180
ENTRYPOINT ["/build/parity/target/release/parity"]
ENTRYPOINT ["/parity"]