diff --git a/Makefile b/Makefile index 45839b5..a986b1b 100644 --- a/Makefile +++ b/Makefile @@ -14,7 +14,7 @@ SERVICE_IMAGE_PUSH_TAG ?= $(SERVICE_IMAGE_TAG) # Base image for the service BASE_IMAGE_NAME := service-erlang -BASE_IMAGE_TAG := 688cee70c0eb6540709fe35b816c81a90dc542ea +BASE_IMAGE_TAG := 0c1352dbf4a31afe0df372b59699a88f3af7986f BUILD_IMAGE_NAME := build-erlang BUILD_IMAGE_TAG := 61a001bbb48128895735a3ac35b0858484fdb2eb diff --git a/rebar.config b/rebar.config index de5883e..5814dcd 100644 --- a/rebar.config +++ b/rebar.config @@ -137,27 +137,6 @@ %% Tests {cover_enabled, true}. -%% Relx configuration -{relx, [ - {release, {bouncer, "0.1.0"}, [ - % tools for introspection - {recon, load}, - % debugger - {runtime_tools, load}, - % profiler - {tools, load}, - % logger formatter - {logger_logstash_formatter, load}, - how_are_you, - bouncer - ]}, - {sys_config, "./config/sys.config"}, - {vm_args, "./config/vm.args"}, - {dev_mode, true}, - {include_erts, false}, - {extended_start_script, true} -]}. - %% Dialyzer static analyzing {dialyzer, [ {warnings, [ @@ -172,10 +151,24 @@ {profiles, [ {prod, [ + %% Relx configuration {relx, [ - {dev_mode, false}, - {include_erts, true}, - {overlay, []} + {release, {bouncer, "0.1.0"}, [ + % tools for introspection + {recon, load}, + % debugger + {runtime_tools, load}, + % profiler + {tools, load}, + % logger formatter + {logger_logstash_formatter, load}, + how_are_you, + bouncer + ]}, + {sys_config, "./config/sys.config"}, + {vm_args, "./config/vm.args"}, + {mode, minimal}, + {extended_start_script, true} ]} ]},