Browse Source

Revert rustup minimal profile, rustup can't be updated

pull/690/head
Daniel García 5 years ago
parent
commit
97d41c2686
No known key found for this signature in database GPG Key ID: FC8A7D14C3CD543A
  1. 2
      docker/aarch64/mysql/Dockerfile
  2. 2
      docker/aarch64/sqlite/Dockerfile
  3. 2
      docker/amd64/mysql/Dockerfile
  4. 2
      docker/amd64/mysql/Dockerfile.alpine
  5. 2
      docker/amd64/postgresql/Dockerfile
  6. 2
      docker/amd64/postgresql/Dockerfile.alpine
  7. 2
      docker/amd64/sqlite/Dockerfile
  8. 2
      docker/amd64/sqlite/Dockerfile.alpine
  9. 2
      docker/armv6/mysql/Dockerfile
  10. 2
      docker/armv6/sqlite/Dockerfile
  11. 2
      docker/armv7/mysql/Dockerfile
  12. 2
      docker/armv7/sqlite/Dockerfile

2
docker/aarch64/mysql/Dockerfile

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

2
docker/aarch64/sqlite/Dockerfile

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

2
docker/amd64/mysql/Dockerfile

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

2
docker/amd64/mysql/Dockerfile.alpine

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

2
docker/amd64/postgresql/Dockerfile

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

2
docker/amd64/postgresql/Dockerfile.alpine

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

2
docker/amd64/sqlite/Dockerfile

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

2
docker/amd64/sqlite/Dockerfile.alpine

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

2
docker/armv6/mysql/Dockerfile

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

2
docker/armv6/sqlite/Dockerfile

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

2
docker/armv7/mysql/Dockerfile

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

2
docker/armv7/sqlite/Dockerfile

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

Loading…
Cancel
Save