clean Docker
[ci-skip]
This commit is contained in:
parent
34d8498a2c
commit
c808954413
@ -62,8 +62,9 @@ RUN git clone https://github.com/ethcore/parity && \
|
|||||||
ls /build/parity/target/release/parity && \
|
ls /build/parity/target/release/parity && \
|
||||||
strip /build/parity/target/release/parity
|
strip /build/parity/target/release/parity
|
||||||
|
|
||||||
RUN file /build/parity/target/release/parity
|
RUN file /build/parity/target/release/parity&&cp /build/parity/target/release/parity /parity
|
||||||
RUN rm -rf /root/.cargo&&rm -rf /root/.multirust&&rm -rf /root/.rustup
|
#cleanup Docker image
|
||||||
|
RUN rm -rf /root/.cargo&&rm -rf /root/.multirust&&rm -rf /root/.rustup&&rm -rf /build
|
||||||
|
|
||||||
EXPOSE 8080 8545 8180
|
EXPOSE 8080 8545 8180
|
||||||
ENTRYPOINT ["/build/parity/target/release/parity"]
|
ENTRYPOINT ["/parity"]
|
||||||
|
Loading…
Reference in New Issue
Block a user