17 lines
379 B
Docker
17 lines
379 B
Docker
FROM rust:1.60@sha256:48d3b5baf199dc7c378e775c47b0c40aaf7d8b23eaf67e15b095bbdaaecd1f10 as near-node
|
|
|
|
RUN rustup update
|
|
RUN apt-get install python3 --no-install-recommends
|
|
|
|
COPY node_builder.sh /tmp
|
|
|
|
WORKDIR /tmp
|
|
|
|
RUN ./node_builder.sh
|
|
|
|
COPY start_node.sh /tmp
|
|
|
|
RUN rm -rf /tmp/_sandbox
|
|
RUN mkdir -p /tmp/sandbox
|
|
RUN nearcore/target/release/near-sandbox --home /tmp/_sandbox init
|