Closed kevin71020 closed 6 years ago
The warring message when build image.
src/ejabberd_sql.erl:509: Warning: erlang:get_stacktrace/0 used following an old-style 'catch' may stop working in a future release. (Use it inside 'try'.)
Compiling 18 files (.ex)
warning: use GenEvent is deprecated, use one of the alternatives described in the documentation for the GenEvent module
lib/ct_formatter.ex:4
warning: the GenEvent module is deprecated, see its documentation for alternatives
lib/ct_formatter.ex:4
warning: variable "get_modules_parsed_in_order" does not exist and is being expanded to "get_modules_parsed_in_order()", please use parentheses to remove the ambiguity or change the variable name
lib/ejabberd/config/config.ex:26
warning: Dict.put/3 is deprecated, use the Map module for working with maps or the Keyword module for working with keyword lists
lib/ejabberd/config/config.ex:53
warning: Dict.put/3 is deprecated, use the Map module for working with maps or the Keyword module for working with keyword lists
lib/ejabberd/config/config.ex:52
warning: variable "get_general_opts" does not exist and is being expanded to "get_general_opts()", please use parentheses to remove the ambiguity or change the variable name
lib/ejabberd/config/config.ex:51
warning: unused alias Attr
lib/ejabberd/config/ejabberd_module.ex:15
warning: variable "val" is unused
lib/ejabberd/config/logger/ejabberd_logger.ex:24
warning: unused alias Attr
lib/ejabberd/config/validator/validation.ex:10
warning: unused alias ValidatorUtility
lib/ejabberd/config/validator/validation.ex:12
warning: variable "attr" is unused
lib/ejabberd/config/validator/validator_attrs.ex:21
warning: undefined behaviour function depends/2 (for behaviour :gen_mod)
lib/mod_presence_demo.ex:1
warning: undefined behaviour function mod_options/1 (for behaviour :gen_mod)
lib/mod_presence_demo.ex:1
warning: variable "mods" is unused
lib/mix/tasks/deps.tree.ex:43
Generated ejabberd app
An example config file has been placed in rel/config.exs, review it,
make edits as needed/desired, and then run `mix release` to build the release
==> Assembling release..
==> Building release ejabberd:18.1.0 using environment prod
==> Including ERTS 9.1.5 from /usr/lib/erlang/erts-9.1.5
==> Packaging release..
==> Release successfully built!
You can run it in one of the following ways:
Interactive: _build/prod/rel/ejabberd/bin/ejabberd console
Foreground: _build/prod/rel/ejabberd/bin/ejabberd foreground
Daemon: _build/prod/rel/ejabberd/bin/ejabberd start
Removing intermediate container edd2f7c7fe67
---> d356359486d0
I could not reproduce for now. build output looks good.
do you get this error always, or could you have successful builds ?
i could not reproduce. please reopen if you still reproduce and get more details
Build Dockerfile in local drive. I don't change anything. There have error message when run the image.
error message
Docker version
planform