Skip to content

Commit

Permalink
added rust installation and PATH manipulation
Browse files Browse the repository at this point in the history
  • Loading branch information
emamihe committed Apr 17, 2024
1 parent db162d9 commit 45f72c0
Showing 1 changed file with 5 additions and 1 deletion.
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 45f72c0

Please sign in to comment.