File tree Expand file tree Collapse file tree 3 files changed +1350
-0
lines changed
codeserver/ubi9-python-3.9 Expand file tree Collapse file tree 3 files changed +1350
-0
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,20 @@ USER 0
17
17
18
18
WORKDIR /opt/app-root/bin
19
19
20
+ # Install usefull packages from Pipfile.lock
21
+ COPY Pipfile.lock ./
22
+
23
+ # Install packages and cleanup
24
+ RUN echo "Installing softwares and packages" && \
25
+ micropipenv install && \
26
+ rm -f ./Pipfile.lock && \
27
+ # Fix permissions to support pip in Openshift environments \
28
+ chmod -R g+w /opt/app-root/lib/python3.9/site-packages && \
29
+ fix-permissions /opt/app-root -P
30
+
31
+ # Install usefull OS packages
32
+ RUN dnf install -y jq git-lfs libsndfile
33
+
20
34
# Install Code Server
21
35
RUN yum install -y "https://github.com/coder/code-server/releases/download/${CODESERVER_VERSION}/code-server-${CODESERVER_VERSION/v/}-amd64.rpm" && \
22
36
yum -y clean all --enablerepo='*'
Original file line number Diff line number Diff line change
1
+ [[source ]]
2
+ name = " pypi"
3
+ url = " https://pypi.org/simple"
4
+ verify_ssl = true
5
+
6
+ [[source ]]
7
+ name = " pytorch"
8
+ url = " https://download.pytorch.org/whl/cu118"
9
+ verify_ssl = true
10
+
11
+ [dev-packages ]
12
+
13
+ [packages ]
14
+ # Base packages
15
+ wheel = " ~=0.41.2"
16
+ setuptools = " ~=68.1.2"
17
+
18
+ # Datascience packages
19
+ boto3 = " ~=1.29.7"
20
+ kafka-python = " ~=2.0.2"
21
+ matplotlib = " ~=3.8.2"
22
+ numpy = " ~=1.26.2"
23
+ pandas = " ~=2.1.3"
24
+ plotly = " ~=5.18.0"
25
+ scikit-learn = " ~=1.3.2"
26
+ scipy = " ~=1.11.4"
27
+ skl2onnx = " ~=1.15.0"
28
+ ipykernel = " ~=6.26.0"
29
+
30
+ # Some extra usefull packages
31
+ opencensus = " ~=0.11.3"
32
+ smart-open = " ~=6.4.0"
33
+ virtualenv = " ~=20.21.0"
34
+ py-spy = " ~=0.3.14"
35
+ prometheus-client = " ~=0.19.0"
36
+
37
+ [requires ]
38
+ python_version = " 3.9"
You can’t perform that action at this time.
0 commit comments