mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-11-05 15:18:57 +01:00
FIx failing alpine build
This commit is contained in:
parent
d3e4fb88ee
commit
063dfcf487
1 changed files with 3 additions and 1 deletions
|
@ -20,7 +20,7 @@ RUN ls
|
|||
|
||||
########################## BUILD IMAGE ##########################
|
||||
# Musl build image for statically compiled binary
|
||||
FROM clux/muslrust:nightly-2018-11-30 as build
|
||||
FROM clux/muslrust:nightly-2018-12-01 as build
|
||||
|
||||
ENV USER "root"
|
||||
|
||||
|
@ -30,6 +30,8 @@ WORKDIR /app
|
|||
# To avoid copying unneeded files, use .dockerignore
|
||||
COPY . .
|
||||
|
||||
RUN rustup target add x86_64-unknown-linux-musl
|
||||
|
||||
# Build
|
||||
RUN cargo build --release
|
||||
|
||||
|
|
Loading…
Reference in a new issue