2024-10-17 07:46:14 +00:00
|
|
|
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/*
|
2024-07-17 09:29:46 +00:00
|
|
|
|
|
|
|
# Copy files into image
|
|
|
|
WORKDIR /app
|
|
|
|
|
2024-07-18 04:52:37 +00:00
|
|
|
# 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
|
|
|
|
|
2024-10-17 07:46:14 +00:00
|
|
|
# Download binaries
|
2024-10-30 13:38:00 +00:00
|
|
|
RUN curl -LO https://git.vdb.to/cerc-io/nitro/releases/download/v0.1.7/nitro
|
|
|
|
RUN curl -LO https://git.vdb.to/cerc-io/nitro/releases/download/v0.1.7/bridge
|
2024-07-23 06:40:19 +00:00
|
|
|
|
2024-10-17 07:46:14 +00:00
|
|
|
# Make binaries executable
|
|
|
|
RUN chmod +x ./nitro
|
|
|
|
RUN chmod +x ./bridge
|
2024-07-18 04:52:37 +00:00
|
|
|
|
2024-10-17 07:46:14 +00:00
|
|
|
# Verify that binaries are correctly setup
|
|
|
|
RUN ./nitro help
|
|
|
|
RUN ./bridge help
|