Compare commits

...

1 Commits

Author SHA1 Message Date
90853725c4 Install platform-specific mkcert 2025-11-11 16:36:03 +08:00

View File

@ -4,13 +4,13 @@ RUN apt-get update
RUN apt-get install -y jq netcat-traditional ca-certificates curl RUN apt-get install -y jq netcat-traditional ca-certificates curl
RUN rm -rf /var/lib/apt/lists/* RUN rm -rf /var/lib/apt/lists/*
# Copy files into image ARG TARGETPLATFORM
WORKDIR /app
# Install mkcert # Install mkcert
RUN curl -JLO "https://dl.filippo.io/mkcert/latest?for=linux/amd64" RUN curl -JL "https://dl.filippo.io/mkcert/latest?for=$TARGETPLATFORM" -o /usr/local/bin/mkcert && \
RUN chmod +x mkcert-v*-linux-amd64 chmod +x /usr/local/bin/mkcert
RUN cp mkcert-v*-linux-amd64 /usr/local/bin/mkcert
WORKDIR /app
# Download binaries # Download binaries
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/nitro