File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 - ' v*'
1111
1212env :
13- OTP-VERSION : 27 .2.1
13+ OTP-VERSION : 26 .2.5.8
1414 REBAR3-VERSION : 3.24.0
1515 DOCKER_IMAGE_NAME : redgreat/eadm
1616 ALIYUN_REGISTRY : registry.cn-hangzhou.aliyuncs.com
Original file line number Diff line number Diff line change 1- FROM --platform=$BUILDPLATFORM erlang:27 .2.1 -alpine AS builder
1+ FROM --platform=$BUILDPLATFORM erlang:26 .2.5 -alpine AS builder
22
33WORKDIR /eadmbuild
44
77RUN apk add --update git
88RUN rebar3 as prod release
99
10- FROM --platform=$BUILDPLATFORM alpine:3.21
10+ FROM --platform=$BUILDPLATFORM alpine:3.20
1111
1212ARG DOCKER_IMAGE_VERSION
1313
Original file line number Diff line number Diff line change 11-sname eadm@localhost
22-setcookie eadm_cookie
3+
34-smp auto
45-megabytes 64
56-env ERL_MAX_PORTS 64
Original file line number Diff line number Diff line change 6060 {apps , [eadm ]}
6161]}.
6262
63- {minimum_otp_vsn , " 27 .2.1 " }.
63+ {minimum_otp_vsn , " 26 .2.5.8 " }.
Original file line number Diff line number Diff line change 22# docker build script
33
44# 提前拉取镜像(反复打包测试时免除每次pull)
5- docker pull alpine:3.20
6- docker pull erlang:26.2.4 -alpine
5+ docker pull alpine:3.21
6+ docker pull erlang:26.2.1 -alpine
77
88# 清理镜像
99docker stop eadm
You can’t perform that action at this time.
0 commit comments