Commit Graph

80 Commits

Author SHA1 Message Date
JimMoen 3e69a52596
build: avoid warnings during docker build
- See also: https://docs.docker.com/reference/build-checks/from-as-casing/
2024-07-05 14:06:58 +08:00
Thales Macedo Garitezi f7d33ff3c0 chore: bump otp -> 26.2.5-3
https://github.com/emqx/emqx-builder/pull/115
2024-06-27 11:36:18 -03:00
Ivan Dyachkov 5e6d4d53a9 build: pin base docker image to stable-20240612-slim
latest version of 12-slim as of today is configured
to fetch i386 packages
2024-06-26 15:46:57 +02:00
Thales Macedo Garitezi f6680ed063 chore: bump OTP to 26.2.5-2
https://github.com/emqx/otp/pull/54
2024-06-10 13:41:23 -03:00
zmstone 9e3c817e5b ci: OTP 26 (26.2.5-1) for docker images 2024-06-05 16:18:55 +02:00
Ivan Dyachkov cc025ce4ae feat: publish packages for Ubuntu 24.04 2024-05-02 11:08:32 +02:00
Ivan Dyachkov 6c6580bc08 build(docker): do not assign default value to the DEBUG var 2024-05-02 10:25:53 +02:00
Ivan Dyachkov 67ef42220e chore: bump builder version to 5.3-4 2024-04-29 11:49:07 +02:00
Ivan Dyachkov d82f7c3f71 fix: qlc could not create temp files in docker container (#12875)
qlc uses file_sorter that puts temporary files in the working
directory by default, which is not writable by emqx user since
58d0f04056.

One of the consequences is that users cannot access retained messages
from the dashboard, but there are likely other issues as well.

This patch fixes this by making /opt/emqx directory owned by emqx:emqx.
2024-04-16 08:28:46 +02:00
Ivan Dyachkov 58d0f04056 build(docker): optimize docker image layers
chown only mutable state directories
2024-03-18 17:23:19 +01:00
Ivan Dyachkov c39e12bfba chore: switch default docker base to debian 12 2024-03-14 20:41:01 +01:00
Ivan Dyachkov 28a10b1664 ci(docker): use lightweight image when building from tar.gz 2024-02-14 15:25:08 +01:00
Ivan Dyachkov a68cc8fde2 ci: build binaries for each arch of docker image separately
to speed up the build process, we build the binaries for multi-arch
docker image on the instances with corresponding architecture first,
then assemble the final docker image
2024-02-14 12:49:54 +01:00
Ivan Dyachkov 3b9dc434ac ci: pin dockerfiles by digest 2024-01-12 11:55:51 +01:00
Zaiming (Stone) Shi ca60ef86ce ci: upgrade to otp 26.2.1-2 2024-01-11 09:15:06 +01:00
Serge Tupchii c77cd690b8 ci: upgrade to OTP-26.1.2-3 (mnesia:match_delete/2 function added) 2024-01-10 16:23:54 +02:00
Ivan Dyachkov 06117c3a33 Merge remote-tracking branch 'upstream/release-54' into 0105-sync-r54 2024-01-05 14:20:38 +01:00
Ivan Dyachkov 1649f67996 chore: do not expose 11883 by default in docker as we do not listen on it 2024-01-02 10:07:05 +01:00
Zaiming (Stone) Shi e45ed3d97d ci: upgrade to otp 26 2023-12-14 22:22:01 +01:00
Zaiming (Stone) Shi 22f8df2eee build: make use of rebar git cache in docker build 2023-10-17 13:06:50 +02:00
Ivan Dyachkov f5b0f96521 chore(docker): use public.ecr.aws registry for base image 2023-10-10 14:51:07 +02:00
Serge Tupchii bac0f7107c chore: bump OTP to 25.3.2-2 and EMQX builder to 5.1-4 2023-08-23 19:35:36 +03:00
Ivan Dyachkov 34759b64f5 ci(docker): pass PKG_VSN to Dockerfile to avoid calling pkg-vsn.sh 2023-08-09 09:23:08 +02:00
Thales Macedo Garitezi 99378355ea ci: bump builder image -> 5.1-3 2023-07-18 09:00:29 -03:00
Zaiming (Stone) Shi 9c1f77d733 ci: upgrade to otp 25.3.2-1 and elixir 1.14.5 2023-06-02 18:01:09 +02:00
Zaiming (Stone) Shi aaf3bf27c4 fix(kafka): ensure brod_gssapi sasl_auth are include in release 2023-05-07 09:43:58 +02:00
Zaiming (Stone) Shi 80eb9d7542
Merge pull request #10252 from emqx/release-50
0327 merge release-50 to master
2023-03-29 12:33:17 +02:00
Thales Macedo Garitezi 69fc1123ee refactor: change enum constructors and improve docs 2023-03-27 17:30:17 -03:00
Serge Tupchii 761847b74a ci: update emqx-builders with OTP 24.3.4.2-3 and 25.1.2-3
These OTP versions implement mnesia_hook:unregister_hook/1
2023-03-23 11:59:43 +02:00
Ivan Dyachkov b90d371836 ci: export docker image in build-slim-packages 2023-02-17 16:43:49 +01:00
Andrew Mayorov c7f535abc7
chore: bump OTP-24 image version to 24.3.4.2-2 2023-02-17 11:16:26 +03:00
Ivan Dyachkov dcb2fd2daf docs: update docker documentation
- loaded plugins and loaded modules are not applicable in 5.0
- add information on how to correctly persist configuration in `/etc/`
- remove --platform arg from Dockerfile
- update documentation links in charts readme
2023-01-18 10:52:56 +01:00
Ivan Dyachkov 49e1f51765 ci: simplify build_and_push_docker_images workflow 2023-01-12 09:45:17 +01:00
Andrew Mayorov 2e1cdd039e
ci: include OTP-25 in some workflows
* Use OTP-25 exclusively for Elixir builds
* Include OTP-25 in slim package builds
* Include OTP-25 in test workflow matrices
2022-12-16 13:45:04 +03:00
Zaiming (Stone) Shi abb941d161 docs: remove port 8081
port 8081 is the management API in 4.x
in 5.0 api port is 18083 (same as for serving the dashboard)
2022-10-05 17:15:19 +02:00
Ivan Dyachkov 0c782963c7 chore: don't keep tar.gz in the docker image 2022-09-29 15:38:28 +02:00
Shawn cd0114b3dc fix: ensure PROFILE=emqx when running make emqx-elixir 2022-08-14 17:57:11 +08:00
Thales Macedo Garitezi 54181c49e9 fix(elixir): set locale for docker images (docker)
Elixir wants to run under UTF-8 locales.  Since we changed the base
runner image to Debian, we have to set those variables for it to pick
them up.
2022-07-04 11:22:06 -03:00
Zhongwen Deng 92019e4d4c chore: don't copy i18n.conf 2022-07-01 09:33:35 +08:00
Zaiming (Stone) Shi d3f8ebd10f ci: fix relup test workflow and upgrade builder to 5.0-17
builder 5.0-17 has emqtt-bench and lux included
so we do not need to rebuild the software for each ci job
2022-06-27 12:06:13 +02:00
Zaiming (Stone) Shi e93576c748 fix(docker): no need to expose port 6369 and 6370 2022-06-11 18:46:40 +02:00
Rory Z d5704c2c48 build(docker): change docker base image to debian, and add new tag for alpine image 2022-06-07 06:15:15 +02:00
Zaiming (Stone) Shi fc4d9e4dcd ci: use emqx-builder 5.0-16
Fixed openssl compatibility issue
2022-06-06 10:54:26 +02:00
Shawn 5d65bdaa47 chore: ping emqx-builder to 5.0-15 2022-05-16 18:10:42 +08:00
Kjell Winblad 74c33cd4e5 feat(rule_engine): add jq function to the rule engine
This commit adds a function to the rule engine that alows users
to transform text or JSON objects using [jq filter programs][1].

[jq][1] is a command line tool that can be used to transform
and filter JSON text using jq's built-in language. The rule engine
function that is added with this commit uses the
[Erlang jq NIF library][2] that wraps the jq C library in an
Erlang NIF function.

[1]: https://stedolan.github.io/jq/
[2]: https://github.com/emqx/jq
2022-05-04 17:09:16 +02:00
Zaiming (Stone) Shi b49df4599a build: use latest builder images (alpine 3.15.1)
OpenSSL-1.1.1n
2022-03-25 07:38:39 +01:00
Zaiming (Stone) Shi 0a5d1b0f52 chore: delete epmd related ports and settings 2022-03-23 22:16:10 +01:00
Zaiming (Stone) Shi 0f93c23936
Merge pull request #7186 from zmstone/structured-build-info
build: more structured build info
2022-03-02 23:58:08 +01:00
Zaiming (Stone) Shi e6495f4300 ci: upgrade emqx-builder to 5.0-8:1.13.3-24.2.1-1 2022-03-02 21:57:26 +01:00
Zaiming (Stone) Shi 4e64010a3b build: more structured build info 2022-03-02 21:22:03 +01:00