1
0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2024-11-08 20:12:34 +01:00

Fix package name for Ubuntu 16.04 based image. Thanks @dani-garcia!

This commit is contained in:
Robin Schneider 2019-12-31 15:28:23 +01:00
parent 0f0e5876ae
commit 47a5a4e1fc
No known key found for this signature in database
GPG Key ID: A81E8006DC95EFE6
2 changed files with 5 additions and 1 deletions

View File

@ -140,7 +140,11 @@ ENV USER "root"
# Install MySQL package
RUN apt-get update && apt-get install -y \
--no-install-recommends \
{% if "musl" in build_stage_base_image %}
libmysqlclient-dev{{ package_arch_prefix }} \
{% else %}
libmariadb-dev{{ package_arch_prefix }} \
{% endif %}
&& rm -rf /var/lib/apt/lists/*
{% elif "postgresql" in target_file %}

View File

@ -35,7 +35,7 @@ ENV USER "root"
# Install MySQL package
RUN apt-get update && apt-get install -y \
--no-install-recommends \
libmariadb-dev \
libmysqlclient-dev \
&& rm -rf /var/lib/apt/lists/*
# Creates a dummy project used to grab dependencies