File tree Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Expand file tree Collapse file tree 3 files changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ FROM quay.io/centos/centos:stream9
3
3
# perform the setup that python image used to do for us
4
4
# but this way it uses a lot less disk space (hundreds of megabytes less)
5
5
ENV APP_ROOT="/opt/app-root"
6
+ ENV HOME="${APP_ROOT}"
6
7
ENV VIRTUAL_ENV="${APP_ROOT}"
7
8
ENV PATH="${VIRTUAL_ENV}/bin:${PATH}"
8
9
ENV PYTHON_VERSION=3.9
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ FROM registry.access.redhat.com/ubi9/ubi:latest
3
3
# perform the setup that python s2i image used to do for us
4
4
# but this way it uses a lot less disk space (hundreds of megabytes less)
5
5
ENV APP_ROOT="/opt/app-root"
6
+ ENV HOME="${APP_ROOT}"
6
7
ENV VIRTUAL_ENV="${APP_ROOT}"
7
8
ENV PATH="${VIRTUAL_ENV}/bin:${PATH}"
8
9
ENV PYTHON_VERSION=3.11
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ FROM registry.access.redhat.com/ubi9/ubi:latest
3
3
# perform the setup that python s2i image used to do for us
4
4
# but this way it uses a lot less disk space (hundreds of megabytes less)
5
5
ENV APP_ROOT="/opt/app-root"
6
+ ENV HOME="${APP_ROOT}"
6
7
ENV VIRTUAL_ENV="${APP_ROOT}"
7
8
ENV PATH="${VIRTUAL_ENV}/bin:${PATH}"
8
9
ENV PYTHON_VERSION=3.9
You can’t perform that action at this time.
0 commit comments