diff options
author | Miroslav Prasil <[email protected]> | 2018-06-12 23:48:18 +0100 |
---|---|---|
committer | Miroslav Prasil <[email protected]> | 2018-06-12 23:48:18 +0100 |
commit | 0260667f7a299b638a14c40b265d463790645a7f (patch) | |
tree | 05e83bb2bfd96faea0d34b0cff17fa777ad22a98 /Dockerfile | |
parent | 7983ce4f13c0b38e42dea9c6ced5adc6c208bec0 (diff) | |
download | vaultwarden-0260667f7a299b638a14c40b265d463790645a7f.tar.gz vaultwarden-0260667f7a299b638a14c40b265d463790645a7f.zip |
Use proper toolchain in Dockerfile
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -31,7 +31,7 @@ RUN git config --global url."https://github.com/".insteadOf ssh://[email protected] ########################## BUILD IMAGE ########################## # We need to use the Rust build image, because # we need the Rust compiler and Cargo tooling -FROM rustlang/rust:nightly as build +FROM rust as build # Using bundled SQLite, no need to install it # RUN apt-get update && apt-get install -y\ @@ -46,6 +46,7 @@ WORKDIR /app # Copies over *only* your manifests and vendored dependencies COPY ./Cargo.* ./ COPY ./libs ./libs +COPY ./rust-toolchain ./rust-toolchain # Builds your dependencies and removes the # dummy project, except the target folder |