File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ ENV VIRTUAL_ENV="/opt/app-root"
6
6
ENV PATH="${VIRTUAL_ENV}/bin:${PATH}"
7
7
RUN useradd --uid 1001 --gid 0 --create-home --base-dir / --home-dir /opt/app-root/src \
8
8
--comment "Default Application User" --shell /bin/bash default && \
9
- dnf install -y python3-pip && dnf clean all && rm -rf /var/cache/yum/* && \
10
- python3.9 -m venv "${VIRTUAL_ENV}"
9
+ dnf install -y python3-pip && dnf clean all && rm -rf /var/cache/yum/*
11
10
12
11
USER 1001
12
+ RUN python3.9 -m venv "${VIRTUAL_ENV}"
13
13
14
14
LABEL name="odh-notebook-base-centos-stream9-python-3.9" \
15
15
summary="Python 3.9 CentOS Stream 9 base image for ODH notebooks" \
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ RUN useradd --uid 1001 --gid 0 --create-home --base-dir / --home-dir /opt/app-ro
10
10
python3.11 -m venv "${VIRTUAL_ENV}"
11
11
12
12
USER 1001
13
+ RUN python3.8 -m venv "${VIRTUAL_ENV}"
13
14
14
15
LABEL name="odh-notebook-base-ubi9-python-3.11" \
15
16
summary="Python 3.11 base image for ODH notebooks" \
Original file line number Diff line number Diff line change @@ -6,10 +6,10 @@ ENV VIRTUAL_ENV="/opt/app-root"
6
6
ENV PATH="${VIRTUAL_ENV}/bin:${PATH}"
7
7
RUN useradd --uid 1001 --gid 0 --create-home --base-dir / --home-dir /opt/app-root/src \
8
8
--comment "Default Application User" --shell /bin/bash default && \
9
- dnf install -y python3-pip && dnf clean all && rm -rf /var/cache/yum/* && \
10
- python3.9 -m venv "${VIRTUAL_ENV}"
9
+ dnf install -y python3-pip && dnf clean all && rm -rf /var/cache/yum/*
11
10
12
11
USER 1001
12
+ python3.9 -m venv "${VIRTUAL_ENV}"
13
13
14
14
LABEL name="odh-notebook-base-ubi9-python-3.9" \
15
15
summary="Python 3.9 base image for ODH notebooks" \
You can’t perform that action at this time.
0 commit comments