Commit Graph

120 Commits

Author SHA1 Message Date
Ivan Dyachkov 292b331064 Merge remote-tracking branch 'upstream/release-57' into 20240717-sync-release-57 2024-07-17 11:29:25 +02:00
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
Ivan Dyachkov e28750b522 Merge remote-tracking branch 'upstream/release-57' into 0701-sync-release-57 2024-07-01 13:52:14 +02: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 8a42d664b8
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-27 13:21:06 +02: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
Ivan Dyachkov 4e83ca34ce docs(docker): sync README.md with the official image docs 2024-06-18 08:16:38 +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
JimMoen c68e380c6f
fix: update docker image file with msodbc17 2023-09-14 17:43:53 +08: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 4d705817d8 refactor(log): move default values to schema 2023-04-29 22:10:19 +02:00
JimMoen 66155a8636
chore: add ms msodbcsql docker file base on emqx-enterprise 2023-04-27 20:48:01 +08: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
Zaiming (Stone) Shi 8a9984cce9 docs: add a comment in docker README.md 2023-03-02 14:32:10 +01:00
Zaiming (Stone) Shi 9bb5abf44a fix(docker-entrypoint.sh): allow setting EMQX_NODE__NAME for docker
Prior to this change EMQX_NODE__NAME is ignored by docker entrypoint
script which will in turn set EQMX_NODE_NAME by resolving
the node name and domain name respectively.
2023-02-24 16:01:38 +01: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 202f6d0181 ci: stop building alpine docker image 2023-02-09 14:19:35 +01: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
Ivan Dyachkov f16513794c docs: update docker readme 2022-12-09 15:39:48 +01:00
Ivan Dyachkov 6ced692ce6 docs: fix minor issues in docker readme 2022-11-29 20:29:53 +01: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
Rory Z 7b270db8d9 chore: update docker entry point, support dns cluster in k8s 2022-07-22 10:18:30 +08:00