File tree 2 files changed +6
-10
lines changed
2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -4,13 +4,14 @@ FROM almalinux:9 AS env
4
4
# ############
5
5
# # SETUP ##
6
6
# ############
7
+ ENV PATH=/usr/local/bin:$PATH
7
8
RUN dnf -y update \
8
9
&& dnf -y install git wget openssl-devel cmake \
9
10
&& dnf -y groupinstall "Development Tools" \
10
11
&& dnf clean all \
11
12
&& rm -rf /var/cache/dnf
12
13
ENTRYPOINT ["/usr/bin/bash" , "-c" ]
13
- CMD [ "/usr/bin/bash" ]
14
+ CMD ["/usr/bin/bash" ]
14
15
15
16
# Install SWIG 4.2.1
16
17
RUN dnf -y update \
@@ -41,7 +42,6 @@ RUN dnf -y update \
41
42
&& dnf -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel maven \
42
43
&& dnf clean all \
43
44
&& rm -rf /var/cache/dnf
44
- ENV JAVA_HOME=/usr/lib/jvm/java
45
45
46
46
# Install Python
47
47
RUN dnf -y update \
@@ -51,9 +51,6 @@ RUN dnf -y update \
51
51
RUN python3 -m pip install \
52
52
absl-py mypy mypy-protobuf pandas
53
53
54
- ENV TZ=America/Los_Angeles
55
- RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
56
-
57
54
# ###############
58
55
# # OR-TOOLS ##
59
56
# ###############
@@ -92,6 +89,7 @@ RUN make archive_cpp
92
89
# .Net
93
90
# # build
94
91
FROM cpp_build AS dotnet_build
92
+ RUN sed -i 's/\( <SignAssembly>\) .*\( <\/ SignAssembly>\) /\1 false\2 /' ortools/dotnet/Google.OrTools*.csproj.in
95
93
ENV USE_DOTNET_CORE_31=ON
96
94
RUN make detect_dotnet \
97
95
&& make dotnet JOBS=8
Original file line number Diff line number Diff line change @@ -4,13 +4,14 @@ FROM rockylinux:9 AS env
4
4
# ############
5
5
# # SETUP ##
6
6
# ############
7
+ ENV PATH=/usr/local/bin:$PATH
7
8
RUN dnf -y update \
8
9
&& dnf -y install git wget openssl-devel cmake \
9
10
&& dnf -y groupinstall "Development Tools" \
10
11
&& dnf clean all \
11
12
&& rm -rf /var/cache/dnf
12
13
ENTRYPOINT ["/usr/bin/bash" , "-c" ]
13
- CMD [ "/usr/bin/bash" ]
14
+ CMD ["/usr/bin/bash" ]
14
15
15
16
# Install SWIG 4.2.1
16
17
RUN dnf -y update \
@@ -41,7 +42,6 @@ RUN dnf -y update \
41
42
&& dnf -y install java-1.8.0-openjdk java-1.8.0-openjdk-devel maven \
42
43
&& dnf clean all \
43
44
&& rm -rf /var/cache/dnf
44
- ENV JAVA_HOME=/usr/lib/jvm/java
45
45
46
46
# Install Python
47
47
RUN dnf -y update \
@@ -51,9 +51,6 @@ RUN dnf -y update \
51
51
RUN python3 -m pip install \
52
52
absl-py mypy mypy-protobuf pandas
53
53
54
- ENV TZ=America/Los_Angeles
55
- RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
56
-
57
54
# ###############
58
55
# # OR-TOOLS ##
59
56
# ###############
@@ -92,6 +89,7 @@ RUN make archive_cpp
92
89
# .Net
93
90
# # build
94
91
FROM cpp_build AS dotnet_build
92
+ RUN sed -i 's/\( <SignAssembly>\) .*\( <\/ SignAssembly>\) /\1 false\2 /' ortools/dotnet/Google.OrTools*.csproj.in
95
93
ENV USE_DOTNET_CORE_31=ON
96
94
RUN make detect_dotnet \
97
95
&& make dotnet JOBS=8
You can’t perform that action at this time.
0 commit comments