Skip to content

Commit

Permalink
fix: cargo-chef panic issue (#98)
Browse files Browse the repository at this point in the history
Co-authored-by: Steven Gu <[email protected]>
  • Loading branch information
silathdiir and stevenatcrypto authored Nov 16, 2022
1 parent e2b4efe commit 00f3a6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion build/dockerfiles/intermediate/go-rust-builder.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ RUN apk add --no-cache gcc musl-dev linux-headers git ca-certificates

ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH
PATH=/usr/local/cargo/bin:$PATH \
CARGO_NET_GIT_FETCH_WITH_CLI=true

RUN set -eux; \
apkArch="$(apk --print-arch)"; \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,13 @@ ARG DEFAULT_RUST_TOOLCHAIN=nightly-2022-08-23
RUN apk add --no-cache \
ca-certificates \
gcc \
git \
musl-dev

ENV RUSTUP_HOME=/usr/local/rustup \
CARGO_HOME=/usr/local/cargo \
PATH=/usr/local/cargo/bin:$PATH
PATH=/usr/local/cargo/bin:$PATH \
CARGO_NET_GIT_FETCH_WITH_CLI=true

RUN set -eux; \
apkArch="$(apk --print-arch)"; \
Expand Down

0 comments on commit 00f3a6f

Please sign in to comment.