Commit Graph

114 Commits

Author SHA1 Message Date
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
Andreas Lindhé 354c145897 docs(docker): Fix typos in Docker README
Capitalize:

    * EMQX
    * Linux
    * MQTT
    * TCP
    * Redis

    💡 git show --color-words='\w+'

Fix typos:

* EMQ --> EMQX
* Properly mark variables and filenames as code

    💡 git show --word-diff-regex='.'

Miscellaneous:

    * Rephrase to fix grammar mistakes.
    * Remove redundant blank line

    💡 git show --color-words='\w+'

Fix `markdownlint` warnings:

    * MD012/no-multiple-blanks Multiple consecutive blank lines
    * MD025/single-title/single-h1 Multiple top-level headings in the same document
    * MD034/no-bare-urls Bare URL used
2022-07-15 14:42:13 +02: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 9b572f341b
Merge pull request #8181 from zmstone/0611-fix-docker-port-expose
fix(docker):  no need to expose port 6369 and 6370
2022-06-11 20:27:03 +01:00
Zaiming (Stone) Shi e93576c748 fix(docker): no need to expose port 6369 and 6370 2022-06-11 18:46:40 +02:00