fixeria submitted this change.
rebar.config: tune default relx configuration
This is an explicit equivalent of {mode, prod}:
* {dev_mode, false} -- this makes rebar3/relx actually copy the
relevant files instaed of creating symlinks
* {include_src, false} -- this disables inclusion of source code
* {include_erts, true} -- this enables inclusion of the ERTS
See also: https://rebar3.org/docs/deployment/releases/.
The benefits of including the ERTS (Erlang Runtime System) are:
* Self-contained: releases can be deployed anywhere,
regardless of what's installed on the target system.
* Consistent runtime: we can pin the exact Erlang/OTP version.
Change-Id: I296c859e088f5034bf4832e70a2b63304f5e421a
Related: SYS#7332
---
M rebar.config
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/rebar.config b/rebar.config
index 4be5a1c..47ff372 100644
--- a/rebar.config
+++ b/rebar.config
@@ -44,8 +44,9 @@
{relx, [{release, {'osmo-s1gw', semver}, [osmo_s1gw]},
{sys_config, "./config/sys.config"},
- {dev_mode, true},
- {include_erts, false},
+ {dev_mode, false},
+ {include_src, false},
+ {include_erts, true},
{extended_start_script, true}]}.
%% vim:set ts=4 sw=4 et:
To view, visit change 40755. To unsubscribe, or for help writing mail filters, visit settings.