Compare commits

...

2 Commits

Author SHA1 Message Date
Jędrzej Stuczyński 60dc125735 Docker image for gateway 2021-12-15 16:11:05 +00:00
Jędrzej Stuczyński e6259c184c Mixnode dockerfile 2021-12-15 15:02:00 +00:00
2 changed files with 20 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
FROM rust:1.56.1 as builder
ARG NYM_VERSION="develop"
RUN git clone https://github.com/nymtech/nym.git && cd nym && git checkout $NYM_VERSION
RUN cargo install --path /nym/gateway
FROM debian:buster-slim
RUN apt-get update && apt-get install -y openssl ca-certificates && rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/local/cargo/bin/nym-gateway /usr/local/bin/nym-gateway
ENTRYPOINT ["nym-gateway"]
+10
View File
@@ -0,0 +1,10 @@
FROM rust:1.56.1 as builder
ARG NYM_VERSION="develop"
RUN git clone https://github.com/nymtech/nym.git && cd nym && git checkout $NYM_VERSION
RUN cargo install --path /nym/mixnode
FROM debian:buster-slim
RUN apt-get update && apt-get install -y openssl ca-certificates && rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/local/cargo/bin/nym-mixnode /usr/local/bin/nym-mixnode
ENTRYPOINT ["nym-mixnode"]