geforkt von mirrored/vaultwarden
Build as static
Dieser Commit ist enthalten in:
Ursprung
2ee07ea1d8
Commit
b837348b25
1 geänderte Dateien mit 2 neuen und 1 gelöschten Zeilen
|
@ -71,6 +71,7 @@ RUN rustup set profile minimal
|
||||||
|
|
||||||
{% if "alpine" in target_file %}
|
{% if "alpine" in target_file %}
|
||||||
ENV USER "root"
|
ENV USER "root"
|
||||||
|
ENV RUSTFLAGS='-C link-arg=-s'
|
||||||
|
|
||||||
{% elif "aarch64" in target_file or "armv" in target_file %}
|
{% elif "aarch64" in target_file or "armv" in target_file %}
|
||||||
# Install required build libs for {{ package_arch_name }} architecture.
|
# Install required build libs for {{ package_arch_name }} architecture.
|
||||||
|
|
Laden …
In neuem Issue referenzieren