1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-05-30 23:43:56 +00:00

Don't install mysql libraries for sqlite builds

This commit is contained in:
Patrick Li 2019-11-05 16:08:41 +13:00
parent e449912f05
commit efc65b93f8
No known key found for this signature in database
GPG key ID: 4483A14A1A7BDAE1
5 changed files with 3 additions and 18 deletions

View file

@ -34,12 +34,6 @@ ARG DB=sqlite
# sqlite3 \
# && rm -rf /var/lib/apt/lists/*
# Install MySQL package
RUN apt-get update && apt-get install -y \
--no-install-recommends \
libmariadb-dev \
&& rm -rf /var/lib/apt/lists/*
# Creates a dummy project used to grab dependencies
RUN USER=root cargo new --bin app
WORKDIR /app

View file

@ -29,12 +29,6 @@ ARG DB=sqlite
ENV USER "root"
# Install needed libraries
RUN apt-get update && apt-get install -y \
--no-install-recommends \
libmysqlclient-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Copies the complete project