Skip to content

Commit 3292db9

Browse files
fix: remove unnecessary profile option from rust installation in Dockerfiles
1 parent 0ae45b3 commit 3292db9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

Dockerfile.debian

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ FROM debian:bookworm-slim as builder
33
RUN apt-get update -y && apt-get install -y build-essential cmake m4 automake peg libtool autoconf python3 python3-pip git peg lcov openssl libssl-dev curl
44

55
# install rust
6-
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
6+
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
77

88
# add rust to path
99
ENV PATH="/root/.cargo/bin:${PATH}"

Dockerfile.rhel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN yum update -y && \
66
alternatives --auto python3
77

88
# install rust
9-
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
9+
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
1010

1111
# add rust to path
1212
ENV PATH="/root/.cargo/bin:${PATH}"

Dockerfile.ubuntu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ RUN sed -i 's|http://us.|http://|g' /etc/apt/sources.list && \
44
apt-get update -y && apt-get install -y curl build-essential cmake m4 automake peg libtool autoconf python3 python3-pip git lcov openssl libssl-dev
55

66
# install rust
7-
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
7+
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
88

99
# add rust to path
1010
ENV PATH="/root/.cargo/bin:${PATH}"

0 commit comments

Comments
 (0)