We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71fb91d commit 123f752Copy full SHA for 123f752
base/rhel9-python-3.11/Dockerfile
@@ -1,5 +1,7 @@
1
FROM registry.redhat.io/rhel9/python-311:latest
2
3
+ARG SOURCE_CODE=base/c9s-python-3.11
4
+
5
LABEL name="rhoai-notebook-base-rhel9-python-3.11" \
6
summary="Python 3.11 Red Hat Enterprise Linux 9 base image for RHOAI notebooks" \
7
description="Base Python 3.11 builder image based on Red Hat Enterprise Linux 9 for RHOAI notebooks" \
@@ -17,7 +19,7 @@ RUN pip install --no-cache-dir -U "micropipenv[toml]"
17
19
18
20
# Install Python dependencies from Pipfile.lock file
21
-COPY Pipfile.lock ./
22
+COPY ${SOURCE_CODE}/Pipfile.lock ./
23
RUN echo "Installing softwares and packages" && micropipenv install && rm -f ./Pipfile.lock
24
25
# OS Packages needs to be installed as root
0 commit comments