e7d591b7bc
* base * Remove mixnet client from libp2p network backend (#572) * Mixnet v1: Remove all mixnet legacies: mixnet crate, mixnode binary, tests, and docker (#573) * Mixnet v1: Skeleton (#570) * Use QUIC for libp2p (#580) * Add Poisson interval function for Mixnet (#575) * Mixnet network backend skeleton (#586) * Libp2p stream read/write (#587) * Emitting packets from mixclient using libp2p stream (#588) * Handle outputs from mixnode using libp2p stream/gossipsub (#589) * Refactor poisson (#590) * Mix client Poisson emission (#591) * Mix node packet handling (#592) * Mix Packet / Fragment logic (#593) * Move FisherYates to `nomos-utils` (#594) * Mixnet topology (#595) * Mix client/node unit tests (#596) * change multiaddr from tcp to udp with quic-v1 (#607) --------- Co-authored-by: Al Liu <scygliu1@gmail.com>
31 lines
917 B
Docker
31 lines
917 B
Docker
# BUILD IMAGE ---------------------------------------------------------
|
|
|
|
FROM rust:1.76.0-slim-bullseye AS builder
|
|
|
|
# Dependecies for publishing documentation.
|
|
RUN apt-get update && apt-get install -yq \
|
|
git clang etcd-client libssl-dev pkg-config
|
|
|
|
WORKDIR /nomos
|
|
COPY . .
|
|
|
|
RUN cargo build --release --all --features metrics
|
|
|
|
# NODE IMAGE ----------------------------------------------------------
|
|
|
|
FROM bitnami/minideb:bullseye
|
|
|
|
LABEL maintainer="augustinas@status.im" \
|
|
source="https://github.com/logos-co/nomos-node" \
|
|
description="Nomos testnet image"
|
|
|
|
# nomos default ports
|
|
EXPOSE 3000 8080 9000 60000
|
|
|
|
COPY --from=builder /nomos/target/release/nomos-node /usr/bin/nomos-node
|
|
COPY --from=builder /nomos/target/release/nomos-cli /usr/bin/nomos-cli
|
|
COPY --from=builder /usr/bin/etcdctl /usr/bin/etcdctl
|
|
COPY nodes/nomos-node/config.yaml /etc/nomos/config.yaml
|
|
|
|
ENTRYPOINT ["/usr/bin/nomos-node"]
|