Skip to content

Commit

Permalink
Use latest cargo-local-registry (from git) (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
dhovart authored Nov 30, 2021
1 parent d811eb2 commit 59acc0d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ COPY bin/generate-registry.sh ${wd}/bin/
# download jq
RUN curl -L -o /usr/local/bin/jq https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64 \
&& chmod +x /usr/local/bin/jq
# download cargo-local-registry
RUN curl -L -o clr.tar.gz https://github.com/ChrisGreenaway/cargo-local-registry/releases/download/0.2.1/cargo-local-registry-0.2.1-x86_64-unknown-linux-musl.tar.gz \
&& tar xvzf clr.tar.gz && chmod +x cargo-local-registry && mv cargo-local-registry /usr/local/cargo/bin
# build cargo-local-registry
RUN cargo install --git https://github.com/ChrisGreenaway/cargo-local-registry.git
# download popular crates to local registry
WORKDIR /local-registry
COPY local-registry/* ./
Expand Down
1 change: 1 addition & 0 deletions local-registry/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[package]
name = "dummy_package"
version="0.1.0"
edition = "2021"

[lib]
path = "dummy.rs"
Expand Down

0 comments on commit 59acc0d

Please sign in to comment.