mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-05-16 16:43:57 +00:00
Update rocket to latest master
Downgrade rust version to fix cargo issue Set rustup profile to minimal
This commit is contained in:
parent
57b1d3f850
commit
fccc0a4b05
17 changed files with 74 additions and 43 deletions
|
@ -41,6 +41,8 @@ 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
|
||||
|
||||
|
|
|
@ -41,6 +41,8 @@ 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
|
||||
|
|
|
@ -41,6 +41,8 @@ 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
|
||||
|
||||
|
|
|
@ -41,6 +41,8 @@ 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
|
||||
|
|
|
@ -41,6 +41,8 @@ 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
|
||||
|
||||
|
|
|
@ -41,6 +41,8 @@ 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue