File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,9 +117,18 @@ ENV PATH="$ASDF_DATA_DIR/shims:$PATH"
117117RUN asdf plugin add scarb && asdf install scarb 2.8.2 && asdf set scarb 2.8.2
118118
119119# Install caddy
120- RUN curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/gpg.key' | gpg --dearmor -o /usr/share/keyrings/caddy-stable-archive-keyring.gpg && \
121- curl -1sLf 'https://dl.cloudsmith.io/public/caddy/stable/debian.deb.txt' | tee /etc/apt/sources.list.d/caddy-stable.list && \
122- apt update && apt install caddy && rm -rf /var/lib/apt/lists/*
120+ ARG TARGETPLATFORM
121+ RUN if [ "$TARGETPLATFORM" = "linux/arm64" ] ; then \
122+ curl -L https://github.com/caddyserver/caddy/releases/download/v2.10.0/caddy_2.10.0_linux_arm64.tar.gz -o caddy.tar.gz && \
123+ tar -xzf caddy.tar.gz caddy && \
124+ mv caddy /usr/local/bin/ && \
125+ rm caddy.tar.gz; \
126+ elif [ "$TARGETPLATFORM" = "linux/amd64" ] ; then \
127+ curl -L https://github.com/caddyserver/caddy/releases/download/v2.10.0/caddy_2.10.0_linux_amd64.tar.gz -o caddy.tar.gz && \
128+ tar -xzf caddy.tar.gz caddy && \
129+ mv caddy /usr/local/bin/ && \
130+ rm caddy.tar.gz; \
131+ fi
123132
124133# Set permissions
125134RUN chown -R root:root /usr/local/cargo && chmod -R 700 /usr/local/cargo
Original file line number Diff line number Diff line change 66 - " .github/Dockerfile"
77
88env :
9- RUST_VERSION : 1.86 .0
10- CLIPPY_VERSION : nightly-2025-02 -20
9+ RUST_VERSION : 1.89 .0
10+ CLIPPY_VERSION : nightly-2025-06 -20
1111
1212jobs :
1313 build-dev-image :
You can’t perform that action at this time.
0 commit comments