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 99431fb commit 0a7af0a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Containerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@ RUN apk update && apk add --no-cache ca-certificates git
RUN apk add --no-cache cargo

# Update crates io index manuall, as an alpine arm bug workaround: https://github.com/pyca/cryptography/issues/6673#issuecomment-985943023
RUN cd ~/.cargo/registry/index
RUN git clone --bare https://github.com/rust-lang/crates.io-index.git github.com-1285ae84e5963aae
#RUN cd ~/.cargo/registry/index
#RUN git clone --bare https://github.com/rust-lang/crates.io-index.git github.com-1285ae84e5963aae
RUN cargo search --limit 0

# Prepare build dir
RUN mkdir /app
Expand Down

0 comments on commit 0a7af0a

Please sign in to comment.