Skip to content

Commit 8d06605

Browse files
committed
fixup, vscode extensions get installed into HOME
1 parent 09fe715 commit 8d06605

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

base/c9s-python-3.9/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM quay.io/centos/centos:stream9
33
# perform the setup that python image used to do for us
44
# but this way it uses a lot less disk space (hundreds of megabytes less)
55
ENV APP_ROOT="/opt/app-root"
6+
ENV HOME="${APP_ROOT}"
67
ENV VIRTUAL_ENV="${APP_ROOT}"
78
ENV PATH="${VIRTUAL_ENV}/bin:${PATH}"
89
ENV PYTHON_VERSION=3.9

base/ubi9-python-3.11/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM registry.access.redhat.com/ubi9/ubi:latest
33
# perform the setup that python s2i image used to do for us
44
# but this way it uses a lot less disk space (hundreds of megabytes less)
55
ENV APP_ROOT="/opt/app-root"
6+
ENV HOME="${APP_ROOT}"
67
ENV VIRTUAL_ENV="${APP_ROOT}"
78
ENV PATH="${VIRTUAL_ENV}/bin:${PATH}"
89
ENV PYTHON_VERSION=3.11

base/ubi9-python-3.9/Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ FROM registry.access.redhat.com/ubi9/ubi:latest
33
# perform the setup that python s2i image used to do for us
44
# but this way it uses a lot less disk space (hundreds of megabytes less)
55
ENV APP_ROOT="/opt/app-root"
6+
ENV HOME="${APP_ROOT}"
67
ENV VIRTUAL_ENV="${APP_ROOT}"
78
ENV PATH="${VIRTUAL_ENV}/bin:${PATH}"
89
ENV PYTHON_VERSION=3.9

0 commit comments

Comments
 (0)