Skip to content

Commit

Permalink
dev: Disable nightly install for now (#2515)
Browse files Browse the repository at this point in the history
The devcontainer nightly install leaves cargo in a bad state due to
permissions issues in the docker setup. Let's just disable nightly for
now (it can always be added at runtime).
  • Loading branch information
olix0r authored Nov 14, 2023
1 parent 048542a commit 8542ec7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
ARG DEV_VERSION

FROM ghcr.io/linkerd/dev:${DEV_VERSION}
RUN rustup toolchain install --profile=minimal nightly && \
cargo +nightly install cargo-fuzz
RUN scurl https://run.linkerd.io/install-edge | sh && \
mkdir -p "$HOME/bin" && ln -s "$HOME/.linkerd2/bin/linkerd" "$HOME/bin/linkerd"

# XXX(ver) This doesn't currently work, because it puts
# /usr/local/cargo/registry into a weird state with regard to permissions.
#RUN rustup toolchain install --profile=minimal nightly
#RUN cargo +nightly install cargo-fuzz

0 comments on commit 8542ec7

Please sign in to comment.