mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-12-23 15:00:45 +01:00
Merge pull request #638 from mprasil/add_sqlite_binary
Add sqlite binary into the docker images
This commit is contained in:
commit
e7b8602e1f
8 changed files with 8 additions and 1 deletions
|
@ -82,6 +82,7 @@ RUN apt-get update && apt-get install -y \
|
|||
openssl \
|
||||
ca-certificates \
|
||||
curl \
|
||||
sqlite3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN mkdir /data
|
||||
|
|
|
@ -81,6 +81,7 @@ RUN apt-get update && apt-get install -y \
|
|||
openssl \
|
||||
ca-certificates \
|
||||
curl \
|
||||
sqlite3 \
|
||||
libpq5 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
|
|
|
@ -64,6 +64,7 @@ RUN apk add --no-cache \
|
|||
openssl \
|
||||
postgresql-libs \
|
||||
curl \
|
||||
sqlite \
|
||||
ca-certificates
|
||||
|
||||
RUN mkdir /data
|
||||
|
|
|
@ -81,6 +81,7 @@ RUN apt-get update && apt-get install -y \
|
|||
openssl \
|
||||
ca-certificates \
|
||||
curl \
|
||||
sqlite3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN mkdir /data
|
||||
|
|
|
@ -63,6 +63,7 @@ ENV SSL_CERT_DIR=/etc/ssl/certs
|
|||
RUN apk add --no-cache \
|
||||
openssl \
|
||||
curl \
|
||||
sqlite \
|
||||
ca-certificates
|
||||
|
||||
RUN mkdir /data
|
||||
|
|
|
@ -82,6 +82,7 @@ RUN apt-get update && apt-get install -y \
|
|||
openssl \
|
||||
ca-certificates \
|
||||
curl \
|
||||
sqlite3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN mkdir /data
|
||||
|
|
|
@ -82,6 +82,7 @@ RUN apt-get update && apt-get install -y \
|
|||
openssl \
|
||||
ca-certificates \
|
||||
curl \
|
||||
sqlite3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
RUN mkdir /data
|
||||
|
|
|
@ -37,7 +37,7 @@ pub fn routes() -> Vec<Route> {
|
|||
}
|
||||
|
||||
lazy_static! {
|
||||
static ref CAN_BACKUP: bool = cfg!(feature = "sqlite") && Command::new("sqlite").arg("-version").status().is_ok();
|
||||
static ref CAN_BACKUP: bool = cfg!(feature = "sqlite") && Command::new("sqlite3").arg("-version").status().is_ok();
|
||||
}
|
||||
|
||||
#[get("/")]
|
||||
|
|
Loading…
Reference in a new issue