Skip to content

Commit 59a6b95

Browse files
committed
Adding missed packages. Sort installed packages.
1 parent 4dc816a commit 59a6b95

File tree

1 file changed

+31
-25
lines changed

1 file changed

+31
-25
lines changed

tools/gen_ort_dockerfile.py

Lines changed: 31 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -134,16 +134,16 @@ def dockerfile_for_linux(output_file):
134134
ENV PYTHON_BIN_PATH=${PYBIN}/python${PYVER} \
135135
PATH=${PYBIN}:${PATH}
136136
137-
RUN yum install -y \
138-
wget \
139-
zip \
140-
ca-certificates \
141-
curl \
142-
python3-pip \
143-
git \
144-
gnupg \
137+
RUN yum install -y \\
138+
ca-certificates \\
139+
curl \\
140+
git \\
141+
gnupg \\
145142
gnupg1 \
146-
openssl-devel
143+
openssl-devel \\
144+
python3-pip \
145+
wget \\
146+
zip
147147
148148
RUN pip3 install patchelf==0.17.2
149149
"""
@@ -166,22 +166,28 @@ def dockerfile_for_linux(output_file):
166166

167167
df += """
168168
169-
RUN apt-get update && apt-get install -y --no-install-recommends \
170-
software-properties-common \
171-
wget \
172-
zip \
173-
ca-certificates \
174-
build-essential \
175-
curl \
176-
libcurl4-openssl-dev \
177-
libssl-dev \
178-
python3-dev \
179-
python3-pip \
180-
git \
181-
gnupg \
182-
gnupg1
183-
184-
RUN pip3 install patchelf==0.17.2 cmake==4.0.3
169+
RUN apt-get update && apt-get install -y --no-install-recommends \\
170+
build-essential \\
171+
ca-certificates \\
172+
curl \\
173+
git \\
174+
gnupg \\
175+
gnupg1 \\
176+
libcurl4-openssl-dev \\
177+
libssl-dev \\
178+
python3-dev \\
179+
python3-pip \\
180+
software-properties-common \\
181+
wget \\
182+
zip
183+
184+
RUN pip3 install \\
185+
cmake==4.0.3 \\
186+
numpy \\
187+
packaging \\
188+
patchelf==0.17.2 \\
189+
psutil \\
190+
wheel>=0.35.1
185191
"""
186192

187193
if FLAGS.ort_openvino is not None:

0 commit comments

Comments
 (0)