Commit graph

7 commits

Author SHA1 Message Date
Sergey Prokhorov
90cc0423ad
docker: upgrade to erlang:27-alpine and alpine:3.22
- Builder: erlang:21-alpine -> erlang:27-alpine (OTP 25+ required)
- Runtime: alpine:3.9 -> alpine:3.22 (matches builder's Alpine for ERTS ABI compatibility)
- Use ./rebar3 (project-bundled) instead of system rebar3
- Consolidate apk add calls in runtime stage
- Add libstdc++ to runtime: OTP 24+ JIT compiler (beam.smp) links against
  libstdc++ and libgcc_s, which are not present in the base Alpine image

Tested: built and pushed seriyps/mtproto-proxy:0.8.3 and :latest to Docker Hub.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-04-07 01:00:34 +02:00
Sergey Prokhorov
d5d8b0d98e
Use alpine 3.9 for docker. Fixes #15
See https://github.com/erlang/docker-erlang-otp/issues/235
2019-08-07 22:36:23 +02:00
Сергей Прохоров
8dd4511701
Make it possible to overwrite port/secret/tag from docker command-line 2019-02-16 20:27:42 +01:00
Сергей Прохоров
e46e69b77f
Fix docker build for cases when prod-* configs already exist 2019-02-16 20:27:41 +01:00
Сергей Прохоров
f47ba71336
Add 'dumb-init' to docker 2019-01-26 22:58:05 +01:00
Сергей Прохоров
3cf06c7bda
Make docker use default configs if specific doesn't exist 2019-01-24 00:52:32 +01:00
Сергей Прохоров
8d5d0aca32
Add dockerfile and docker instructions 2019-01-23 02:37:39 +01:00