File tree Expand file tree Collapse file tree 19 files changed +85
-9
lines changed Expand file tree Collapse file tree 19 files changed +85
-9
lines changed Original file line number Diff line number Diff line change @@ -43,14 +43,14 @@ jobs:
43
43
"ubuntu22.04",
44
44
"ubuntu20.04",
45
45
"ubuntu18.04",
46
- "debian12",
47
- "debian11",
48
- "debian10",
49
- "el9",
50
- "el8",
51
- "el7",
52
- "amzn2",
53
- "amzn2023",
46
+ "debian12",
47
+ "debian11",
48
+ "debian10",
49
+ "el9",
50
+ "el8",
51
+ "el7",
52
+ "amzn2",
53
+ "amzn2023",
54
54
"alpine3.15.1",
55
55
"alpine3.21.3"
56
56
]'
Original file line number Diff line number Diff line change @@ -7,11 +7,12 @@ ENV ERL_AFLAGS="-kernel shell_history enabled"
7
7
ARG BUILD_WITHOUT_QUIC=false
8
8
ARG OTP_VERSION=27.3.4.2-1
9
9
ARG ELIXIR_VERSION=1.18.3
10
+ ARG RUST_VERSION=1.88.0
10
11
ARG FDB_VERSION=7.3.43
11
12
ARG EMQTT_BENCH_VERSION=0.4.25
12
13
ARG LUX_VERSION=lux-3.0
13
14
14
- COPY get-otp.sh get-zsh.sh get-elixir.sh get-fdb.sh get-emqtt-bench.sh get-lux.sh /
15
+ COPY get-otp.sh get-zsh.sh get-elixir.sh get-fdb.sh get-rust.sh get- emqtt-bench.sh get-lux.sh /
15
16
16
17
RUN if [ -f /opt/rh/devtoolset-10/enable ]; then source /opt/rh/devtoolset-10/enable; fi && \
17
18
. /etc/os-release && export ID=$ID && export VERSION_ID=$VERSION_ID && \
@@ -22,6 +23,7 @@ RUN if [ -f /opt/rh/devtoolset-10/enable ]; then source /opt/rh/devtoolset-10/en
22
23
/get-otp.sh ${OTP_VERSION} && \
23
24
/get-elixir.sh ${ELIXIR_VERSION} && \
24
25
if [ "${OTP_VERSION#26.}" != "$OTP_VERSION" ]; then /get-fdb.sh ${FDB_VERSION}; fi && \
26
+ if echo "${OTP_VERSION}" | grep -q "^27\. " ; then /get-rust.sh ${RUST_VERSION}; fi && \
25
27
/get-emqtt-bench.sh ${EMQTT_BENCH_VERSION} && \
26
28
/get-lux.sh ${LUX_VERSION} && \
27
29
rm /get-otp.sh /get-zsh.sh /get-elixir.sh /get-fdb.sh /get-emqtt-bench.sh /get-lux.sh
Original file line number Diff line number Diff line change @@ -49,4 +49,8 @@ RUN ln -s /usr/bin/python3 /usr/bin/python
49
49
COPY get-cmake.sh /get-cmake.sh
50
50
RUN /get-cmake.sh build
51
51
52
+ # Install Rustup
53
+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none
54
+ ENV PATH="/root/.cargo/bin:${PATH}"
55
+
52
56
CMD [ "/bin/sh" ]
Original file line number Diff line number Diff line change @@ -47,4 +47,8 @@ RUN apk add --no-cache --virtual .build-deps \
47
47
COPY get-cmake.sh /get-cmake.sh
48
48
RUN /get-cmake.sh build
49
49
50
+ # Install Rustup
51
+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none
52
+ ENV PATH="/root/.cargo/bin:${PATH}"
53
+
50
54
CMD [ "/bin/sh" ]
Original file line number Diff line number Diff line change @@ -65,4 +65,8 @@ RUN yum clean packages && \
65
65
ENV LC_ALL=C.UTF-8
66
66
ENV LANG=C.UTF-8
67
67
68
+ # Install Rustup
69
+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none
70
+ ENV PATH="/root/.cargo/bin:${PATH}"
71
+
68
72
CMD [ "/bin/bash" ]
Original file line number Diff line number Diff line change @@ -33,4 +33,8 @@ WORKDIR /
33
33
ENV LC_ALL=C.UTF-8
34
34
ENV LANG=C.UTF-8
35
35
36
+ # Install Rustup
37
+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none
38
+ ENV PATH="/root/.cargo/bin:${PATH}"
39
+
36
40
CMD [ "/bin/bash" ]
Original file line number Diff line number Diff line change @@ -83,5 +83,9 @@ RUN /get-cmake.sh build && rm /get-cmake.sh
83
83
ENV LC_ALL=C.UTF-8
84
84
ENV LANG=C.UTF-8
85
85
86
+ # Install Rustup
87
+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none
88
+ ENV PATH="/root/.cargo/bin:${PATH}"
89
+
86
90
WORKDIR /
87
91
CMD [ "/bin/bash" ]
Original file line number Diff line number Diff line change @@ -59,5 +59,9 @@ RUN apt-get clean\
59
59
ENV LC_ALL=C.UTF-8
60
60
ENV LANG=C.UTF-8
61
61
62
+ # Install Rustup
63
+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none
64
+ ENV PATH="/root/.cargo/bin:${PATH}"
65
+
62
66
WORKDIR /
63
67
CMD [ "/bin/bash" ]
Original file line number Diff line number Diff line change @@ -52,4 +52,8 @@ WORKDIR /
52
52
ENV LC_ALL=C.UTF-8
53
53
ENV LANG=C.UTF-8
54
54
55
+ # Install Rustup
56
+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none
57
+ ENV PATH="/root/.cargo/bin:${PATH}"
58
+
55
59
CMD [ "/bin/bash" ]
Original file line number Diff line number Diff line change @@ -101,4 +101,8 @@ ENV LANG=en_US.UTF-8
101
101
# merge the two dirs
102
102
ENV ACLOCAL_PATH=/usr/share/aclocal:/usr/local/share/aclocal
103
103
104
+ # Install Rustup
105
+ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain none
106
+ ENV PATH="/root/.cargo/bin:${PATH}"
107
+
104
108
CMD [ "/bin/bash" ]
You can’t perform that action at this time.
0 commit comments