Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions docker/debian/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,15 @@ mold --version
python3 --version
EOF

# Install rust.
RUN <<EOF
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.91.1
. ~/.bashrc
. ~/.cargo/env
rustc -V
cargo -V
EOF

# ====================== GCC IMAGE ======================
FROM base AS gcc

Expand Down
9 changes: 9 additions & 0 deletions docker/rhel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,15 @@ mold --version
python3 --version
EOF

# Install rust.
RUN <<EOF
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.91.1
. ~/.bashrc
. ~/.cargo/env
rustc -V
cargo -V
EOF

# ====================== GCC IMAGE ======================
FROM base AS gcc

Expand Down
9 changes: 9 additions & 0 deletions docker/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,15 @@ mold --version
python3 --version
EOF

# Install rust.
RUN <<EOF
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain=1.91.1
. ~/.bashrc
. ~/.cargo/env
rustc -V
cargo -V
EOF

# ====================== GCC IMAGE ======================
FROM base AS gcc

Expand Down