mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-11-29 01:19:20 +03:00
Build as static
This commit is contained in:
parent
2ee07ea1d8
commit
b837348b25
1 changed files with 2 additions and 1 deletions
|
@ -71,6 +71,7 @@ RUN rustup set profile minimal
|
|||
|
||||
{% if "alpine" in target_file %}
|
||||
ENV USER "root"
|
||||
ENV RUSTFLAGS='-C link-arg=-s'
|
||||
|
||||
{% elif "aarch64" in target_file or "armv" in target_file %}
|
||||
# Install required build libs for {{ package_arch_name }} architecture.
|
||||
|
|
Loading…
Reference in a new issue