* Bump to rbkmoney/image-service-erlang@0c1352d base image
* Update relx config w/ minimal mode
This commit is contained in:
Andrew Mayorov 2021-02-18 16:00:56 +03:00 committed by GitHub
parent 4b86d8e48f
commit 1f76fab18c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 25 deletions

View File

@ -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

View File

@ -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}
]}
]},