Skip to content

Commit

Permalink
Merge pull request #1774 from paritytech/install-rust
Browse files Browse the repository at this point in the history
added rust installation and PATH manipulation
  • Loading branch information
emamihe authored Apr 17, 2024
2 parents db162d9 + 1e61130 commit 7b3f02b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 86 deletions.
33 changes: 0 additions & 33 deletions admissioncontroller/keys/server.crt

This file was deleted.

52 changes: 0 additions & 52 deletions admissioncontroller/keys/server.key

This file was deleted.

6 changes: 5 additions & 1 deletion scripts/ci/docker/zombienet_injected.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,15 @@ RUN apt-get update && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*

# install rust
ENV RUST_VERSION=1.75.0
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain $RUST_VERSION -y

# install gcloud and kubectl
WORKDIR /home/nonroot/
ENV CLOUDSDK_INSTALL_DIR /usr/local/gcloud
RUN curl -sSL https://sdk.cloud.google.com | bash
ENV PATH $PATH:/usr/local/gcloud/google-cloud-sdk/bin
ENV PATH $PATH:/usr/local/gcloud/google-cloud-sdk/bin:/root/.cargo/bin
RUN gcloud components install kubectl

# Non-root user for security purposes.
Expand Down

0 comments on commit 7b3f02b

Please sign in to comment.