diff options
author | Daniel García <[email protected]> | 2018-05-07 21:33:54 +0200 |
---|---|---|
committer | Daniel García <[email protected]> | 2018-05-07 21:33:54 +0200 |
commit | 8298795087c787c85fd3ba6c965242c1ad190fad (patch) | |
tree | 19b0483e3d1bf66457b00d8b0a5580b943e9fbdf /Dockerfile | |
parent | 7e7c3681da92a94ed1f2db57387b7b42512e8e80 (diff) | |
download | vaultwarden-8298795087c787c85fd3ba6c965242c1ad190fad.tar.gz vaultwarden-8298795087c787c85fd3ba6c965242c1ad190fad.zip |
Update dependencies and bundle SQLite with the program, so we have one less dependency to install separately
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -33,11 +33,11 @@ RUN git config --global url."https://github.com/".insteadOf ssh://[email protected] # we need the Rust compiler and Cargo tooling FROM rustlang/rust:nightly as build -# Install the database libraries, in this case just sqlite3 -RUN apt-get update && apt-get install -y\ - sqlite3\ - --no-install-recommends\ - && rm -rf /var/lib/apt/lists/* +# Using bundled SQLite, no need to install it +# RUN apt-get update && apt-get install -y\ +# sqlite3\ +# --no-install-recommends\ +# && rm -rf /var/lib/apt/lists/* # Creates a dummy project used to grab dependencies RUN USER=root cargo new --bin app @@ -68,7 +68,6 @@ FROM debian:stretch-slim # Install needed libraries RUN apt-get update && apt-get install -y\ - sqlite3\ openssl\ --no-install-recommends\ && rm -rf /var/lib/apt/lists/* |