Adding entrypoints to docker images (#1909)
This commit is contained in:
parent
0e7b06d3eb
commit
f5a8c73be5
@ -26,4 +26,8 @@ RUN git clone https://github.com/ethcore/parity && \
|
|||||||
cargo build --release --verbose && \
|
cargo build --release --verbose && \
|
||||||
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
|
||||||
|
|
||||||
|
EXPOSE 8080 8545 8180
|
||||||
|
ENTRYPOINT ["/build/parity/target/release/parity"]
|
||||||
|
@ -46,4 +46,8 @@ RUN git clone https://github.com/ethcore/parity && \
|
|||||||
cargo build --target aarch64-unknown-linux-gnu --release --verbose && \
|
cargo build --target aarch64-unknown-linux-gnu --release --verbose && \
|
||||||
ls /build/parity/target/aarch64-unknown-linux-gnu/release/parity && \
|
ls /build/parity/target/aarch64-unknown-linux-gnu/release/parity && \
|
||||||
/usr/bin/aarch64-linux-gnu-strip /build/parity/target/aarch64-unknown-linux-gnu/release/parity
|
/usr/bin/aarch64-linux-gnu-strip /build/parity/target/aarch64-unknown-linux-gnu/release/parity
|
||||||
|
|
||||||
RUN file /build/parity/target/aarch64-unknown-linux-gnu/release/parity
|
RUN file /build/parity/target/aarch64-unknown-linux-gnu/release/parity
|
||||||
|
|
||||||
|
EXPOSE 8080 8545 8180
|
||||||
|
ENTRYPOINT ["/build/parity/target/aarch64-unknown-linux-gnu/release/parity"]
|
||||||
|
@ -46,4 +46,8 @@ RUN git clone https://github.com/ethcore/parity && \
|
|||||||
cargo build --target armv7-unknown-linux-gnueabihf --release --verbose && \
|
cargo build --target armv7-unknown-linux-gnueabihf --release --verbose && \
|
||||||
ls /build/parity/target/armv7-unknown-linux-gnueabihf/release/parity && \
|
ls /build/parity/target/armv7-unknown-linux-gnueabihf/release/parity && \
|
||||||
/usr/bin/arm-linux-gnueabihf-strip /build/parity/target/armv7-unknown-linux-gnueabihf/release/parity
|
/usr/bin/arm-linux-gnueabihf-strip /build/parity/target/armv7-unknown-linux-gnueabihf/release/parity
|
||||||
|
|
||||||
RUN file /build/parity/target/armv7-unknown-linux-gnueabihf/release/parity
|
RUN file /build/parity/target/armv7-unknown-linux-gnueabihf/release/parity
|
||||||
|
|
||||||
|
EXPOSE 8080 8545 8180
|
||||||
|
ENTRYPOINT ["/build/parity/target/armv7-unknown-linux-gnueabihf/release/parity"]
|
||||||
|
@ -52,4 +52,8 @@ RUN git clone https://github.com/ethcore/parity && \
|
|||||||
cargo build --release --features ethcore/jit --verbose && \
|
cargo build --release --features ethcore/jit --verbose && \
|
||||||
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
|
||||||
|
|
||||||
|
EXPOSE 8080 8545 8180
|
||||||
|
ENTRYPOINT ["/build/parity/target/release/parity"]
|
||||||
|
@ -33,4 +33,7 @@ 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
|
||||||
|
|
||||||
|
EXPOSE 8080 8545 8180
|
||||||
ENTRYPOINT ["/build/parity/target/release/parity"]
|
ENTRYPOINT ["/build/parity/target/release/parity"]
|
||||||
|
Loading…
Reference in New Issue
Block a user