aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorDaniel García <[email protected]>2018-05-07 21:33:54 +0200
committerDaniel García <[email protected]>2018-05-07 21:33:54 +0200
commit8298795087c787c85fd3ba6c965242c1ad190fad (patch)
tree19b0483e3d1bf66457b00d8b0a5580b943e9fbdf /Dockerfile
parent7e7c3681da92a94ed1f2db57387b7b42512e8e80 (diff)
downloadvaultwarden-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--Dockerfile11
1 files changed, 5 insertions, 6 deletions
diff --git a/Dockerfile b/Dockerfile
index 30d9fba1..90f7a417 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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/*