Skip to content

Commit 7a23a39

Browse files
committed
[OTP] Upgrade submodules and otp to 28
1 parent 5101332 commit 7a23a39

File tree

4 files changed

+16
-4
lines changed

4 files changed

+16
-4
lines changed

Dockerfile

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,18 @@ FROM ubuntu:latest
22

33
RUN apt-get update && \
44
apt-get install -y make gcc g++ libncurses-dev libssl-dev git wget \
5-
erlang cmake python3-pip iproute2 zip unzip
5+
cmake python3-pip iproute2 zip unzip
6+
7+
# Install Erlang/OTP 28.0
8+
RUN git clone https://github.com/erlang/otp.git && \
9+
cd otp && \
10+
git fetch --all --tags && \
11+
git checkout tags/OTP-28.0 -b otp-28.0 && \
12+
./configure && \
13+
make -j2 && \
14+
make install && \
15+
cd - && \
16+
rm -rf otp
617

718
ENV RUNNING_IN_DOCKER=true \
819
PIP_BREAK_SYSTEM_PACKAGES=1

NerlnetInstall.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,8 @@ function install_erlang()
116116
apt install -y make gcc libncurses-dev libssl-dev
117117
git clone https://github.com/erlang/otp.git
118118
cd otp
119-
git checkout maint-25
119+
git fetch --all --tags
120+
git checkout tags/OTP-28.0 -b otp-28.0
120121
./configure
121122
make -j$NumJobs
122123
make install

src_erl/NerlnetApp/rebar.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{erl_opts, [debug_info]}.
22
{deps, [
3-
{cowboy, {git, "https://github.com/ninenines/cowboy.git" , {tag,"2.12.0"}}},
3+
{cowboy, {git, "https://github.com/ninenines/cowboy.git" , {tag,"2.13.0"}}},
44
{jsx, {git, "https://github.com/talentdeficit/jsx.git", {tag, "v3.1.0"}}}
55
]}.
66
{shell, [

src_erl/rebar3

Submodule rebar3 updated 132 files

0 commit comments

Comments
 (0)