Prathamesh Musale
ceae9fe8d4
Part of [Create bridge channel in go-nitro](https://www.notion.so/Create-bridge-channel-in-go-nitro-22ce80a0d8ae4edb80020a8f250ea270) - Remove `go-nitro` repo from `bridge` and `nitro-node` stacks - Add a separate image for Nitro contracts deployment - Update `go-nitro` Dockerfile to: - Fetch `nitro` and `bridge` binaries from <https://git.vdb.to/cerc-io/nitro> instead of building from source - Use `ubuntu:latest` as base image instead of `deban:bullsye-slim` - Update `nitro-client` Dockerfile to: - Install `nitro-rpc-client` package from `git.vdb.to/cerc-io` instead of building from source Co-authored-by: Adw8 <adwaitgharpure@gmail.com> Co-authored-by: Shreerang Kale <shreerangkale@gmail.com> Reviewed-on: #12 Co-authored-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to> Co-committed-by: Prathamesh Musale <prathamesh@noreply.git.vdb.to>
26 lines
673 B
Docker
26 lines
673 B
Docker
FROM ubuntu:latest
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install -y jq netcat-traditional ca-certificates curl
|
|
RUN rm -rf /var/lib/apt/lists/*
|
|
|
|
# Copy files into image
|
|
WORKDIR /app
|
|
|
|
# Install mkcert
|
|
RUN curl -JLO "https://dl.filippo.io/mkcert/latest?for=linux/amd64"
|
|
RUN chmod +x mkcert-v*-linux-amd64
|
|
RUN cp mkcert-v*-linux-amd64 /usr/local/bin/mkcert
|
|
|
|
# Download binaries
|
|
RUN curl -LO https://git.vdb.to/cerc-io/nitro/releases/download/latest/nitro
|
|
RUN curl -LO https://git.vdb.to/cerc-io/nitro/releases/download/latest/bridge
|
|
|
|
# Make binaries executable
|
|
RUN chmod +x ./nitro
|
|
RUN chmod +x ./bridge
|
|
|
|
# Verify that binaries are correctly setup
|
|
RUN ./nitro help
|
|
RUN ./bridge help
|