Skip to content

Commit

Permalink
update aarch64 scanner dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kulukami committed Sep 12, 2023
1 parent 743071a commit 3bf7cc8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion plugins/scanner/docker/Dockerfile.linux_aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,13 @@ RUN echo 'export RUSTUP_HOME=/opt/rust' >> /etc/profile
RUN echo 'export PATH=/opt/rust/bin:$PATH' >> /root/.bashrc
RUN echo 'export RUSTUP_HOME=/opt/rust' >> /root/.bashrc

RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | bash -s -- -y
RUN source /opt/rust/env
RUN source ~/.bashrc


ENV PATH="/opt/rust/bin:${PATH}"

RUN rustup update
RUN rustup target add aarch64-unknown-linux-gnu

Expand Down

0 comments on commit 3bf7cc8

Please sign in to comment.