1
0
Fork 1
Spiegel von https://github.com/dani-garcia/vaultwarden.git synchronisiert 2024-11-29 06:20:29 +01:00

Revert rustup minimal profile, rustup can't be updated

Dieser Commit ist enthalten in:
Daniel García 2019-10-26 00:55:58 +02:00
Ursprung fccc0a4b05
Commit 97d41c2686
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: FC8A7D14C3CD543A
12 geänderte Dateien mit 0 neuen und 24 gelöschten Zeilen

Datei anzeigen

@ -62,8 +62,6 @@ ENV OPENSSL_LIB_DIR="/usr/lib/aarch64-linux-gnu"
COPY . . COPY . .
# Build # Build
RUN rustup self update
RUN rustup set profile minimal
RUN rustup target add aarch64-unknown-linux-gnu RUN rustup target add aarch64-unknown-linux-gnu
RUN cargo build --features ${DB} --release --target=aarch64-unknown-linux-gnu -v RUN cargo build --features ${DB} --release --target=aarch64-unknown-linux-gnu -v

Datei anzeigen

@ -62,8 +62,6 @@ ENV OPENSSL_LIB_DIR="/usr/lib/aarch64-linux-gnu"
COPY . . COPY . .
# Build # Build
RUN rustup self update
RUN rustup set profile minimal
RUN rustup target add aarch64-unknown-linux-gnu RUN rustup target add aarch64-unknown-linux-gnu
RUN cargo build --features ${DB} --release --target=aarch64-unknown-linux-gnu -v RUN cargo build --features ${DB} --release --target=aarch64-unknown-linux-gnu -v

Datei anzeigen

@ -41,8 +41,6 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Creates a dummy project used to grab dependencies # Creates a dummy project used to grab dependencies
RUN rustup self update
RUN rustup set profile minimal
RUN USER=root cargo new --bin app RUN USER=root cargo new --bin app
WORKDIR /app WORKDIR /app

Datei anzeigen

@ -41,8 +41,6 @@ WORKDIR /app
# To avoid copying unneeded files, use .dockerignore # To avoid copying unneeded files, use .dockerignore
COPY . . COPY . .
RUN rustup self update
RUN rustup set profile minimal
RUN rustup target add x86_64-unknown-linux-musl RUN rustup target add x86_64-unknown-linux-musl
# Make sure that we actually build the project # Make sure that we actually build the project

Datei anzeigen

@ -41,8 +41,6 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Creates a dummy project used to grab dependencies # Creates a dummy project used to grab dependencies
RUN rustup self update
RUN rustup set profile minimal
RUN USER=root cargo new --bin app RUN USER=root cargo new --bin app
WORKDIR /app WORKDIR /app

Datei anzeigen

@ -41,8 +41,6 @@ WORKDIR /app
# To avoid copying unneeded files, use .dockerignore # To avoid copying unneeded files, use .dockerignore
COPY . . COPY . .
RUN rustup self update
RUN rustup set profile minimal
RUN rustup target add x86_64-unknown-linux-musl RUN rustup target add x86_64-unknown-linux-musl
# Make sure that we actually build the project # Make sure that we actually build the project

Datei anzeigen

@ -41,8 +41,6 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
# Creates a dummy project used to grab dependencies # Creates a dummy project used to grab dependencies
RUN rustup self update
RUN rustup set profile minimal
RUN USER=root cargo new --bin app RUN USER=root cargo new --bin app
WORKDIR /app WORKDIR /app

Datei anzeigen

@ -41,8 +41,6 @@ WORKDIR /app
# To avoid copying unneeded files, use .dockerignore # To avoid copying unneeded files, use .dockerignore
COPY . . COPY . .
RUN rustup self update
RUN rustup set profile minimal
RUN rustup target add x86_64-unknown-linux-musl RUN rustup target add x86_64-unknown-linux-musl
# Make sure that we actually build the project # Make sure that we actually build the project

Datei anzeigen

@ -62,8 +62,6 @@ ENV OPENSSL_LIB_DIR="/usr/lib/arm-linux-gnueabi"
COPY . . COPY . .
# Build # Build
RUN rustup self update
RUN rustup set profile minimal
RUN rustup target add arm-unknown-linux-gnueabi RUN rustup target add arm-unknown-linux-gnueabi
RUN cargo build --features ${DB} --release --target=arm-unknown-linux-gnueabi -v RUN cargo build --features ${DB} --release --target=arm-unknown-linux-gnueabi -v

Datei anzeigen

@ -62,8 +62,6 @@ ENV OPENSSL_LIB_DIR="/usr/lib/arm-linux-gnueabi"
COPY . . COPY . .
# Build # Build
RUN rustup self update
RUN rustup set profile minimal
RUN rustup target add arm-unknown-linux-gnueabi RUN rustup target add arm-unknown-linux-gnueabi
RUN cargo build --features ${DB} --release --target=arm-unknown-linux-gnueabi -v RUN cargo build --features ${DB} --release --target=arm-unknown-linux-gnueabi -v

Datei anzeigen

@ -63,8 +63,6 @@ ENV OPENSSL_LIB_DIR="/usr/lib/arm-linux-gnueabihf"
COPY . . COPY . .
# Build # Build
RUN rustup self update
RUN rustup set profile minimal
RUN rustup target add armv7-unknown-linux-gnueabihf RUN rustup target add armv7-unknown-linux-gnueabihf
RUN cargo build --features ${DB} --release --target=armv7-unknown-linux-gnueabihf -v RUN cargo build --features ${DB} --release --target=armv7-unknown-linux-gnueabihf -v

Datei anzeigen

@ -62,8 +62,6 @@ ENV OPENSSL_LIB_DIR="/usr/lib/arm-linux-gnueabihf"
COPY . . COPY . .
# Build # Build
RUN rustup self update
RUN rustup set profile minimal
RUN rustup target add armv7-unknown-linux-gnueabihf RUN rustup target add armv7-unknown-linux-gnueabihf
RUN cargo build --features ${DB} --release --target=armv7-unknown-linux-gnueabihf -v RUN cargo build --features ${DB} --release --target=armv7-unknown-linux-gnueabihf -v