LoginSignup
2
1

More than 3 years have passed since last update.

【コピペ】Dockerでrustの開発環境を作りたい時のやつ

Last updated at Posted at 2021-04-11
RUN dnf install -y curl gcc
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
ENV PATH=/root/.cargo/bin:$PATH
RUN . ~/.bashrc

用途

  • Rust開発したい
  • でも、Doker-Hubのコンテナはやだ

みたいな時のDockerfileに記載するやつ

2
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1