Skip to content

Commit

Permalink
fix: crates io index
Browse files Browse the repository at this point in the history
  • Loading branch information
RouHim committed Aug 18, 2022
1 parent f04e471 commit 6e1992f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN apk update && apk add --no-cache ca-certificates
# Install Rust toolchain
RUN apk add --no-cache cargo git

# Update crates io index manuall, as an alpine arm bug workaround: https://github.com/pyca/cryptography/issues/6673#issuecomment-985943023
# Update crates io index via git cli, otherwise we'll an out of memory when building for arm https://github.com/rust-lang/cargo/issues/9167
RUN mkdir -p ~/.cargo/
RUN echo "[net]" > ~/.cargo/config
RUN echo "git-fetch-with-cli = true" >> ~/.cargo/config
Expand Down

0 comments on commit 6e1992f

Please sign in to comment.