geforkt von mirrored/vaultwarden
Fix package name for Ubuntu 16.04 based image. Thanks @dani-garcia!
Dieser Commit ist enthalten in:
Ursprung
0f0e5876ae
Commit
47a5a4e1fc
2 geänderte Dateien mit 5 neuen und 1 gelöschten Zeilen
|
@ -140,7 +140,11 @@ ENV USER "root"
|
||||||
# Install MySQL package
|
# Install MySQL package
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
--no-install-recommends \
|
--no-install-recommends \
|
||||||
|
{% if "musl" in build_stage_base_image %}
|
||||||
|
libmysqlclient-dev{{ package_arch_prefix }} \
|
||||||
|
{% else %}
|
||||||
libmariadb-dev{{ package_arch_prefix }} \
|
libmariadb-dev{{ package_arch_prefix }} \
|
||||||
|
{% endif %}
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
{% elif "postgresql" in target_file %}
|
{% elif "postgresql" in target_file %}
|
||||||
|
|
|
@ -35,7 +35,7 @@ ENV USER "root"
|
||||||
# Install MySQL package
|
# Install MySQL package
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
--no-install-recommends \
|
--no-install-recommends \
|
||||||
libmariadb-dev \
|
libmysqlclient-dev \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Creates a dummy project used to grab dependencies
|
# Creates a dummy project used to grab dependencies
|
||||||
|
|
Laden …
In neuem Issue referenzieren