Skip to content

Commit 4ed3bad

Browse files
fix(image): nginx
1 parent 5620f63 commit 4ed3bad

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

build/Python311/Dockerfile.ubi9

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ARG baseImage
22
FROM ${baseImage} as build
33

44
ENV PYTHON_VERSION 3.11
5-
ENV PYTHON_PATCH_VERSION 9
5+
ENV PYTHON_PATCH_VERSION 13
66
ENV ARCH amd64
77

88
ENV PYTHON_DIR=/opt/python
@@ -11,7 +11,8 @@ ENV LANG C.UTF-8
1111

1212
WORKDIR ${HOME}
1313

14-
RUN dnf install -y --setopt=tsflags=nodocs gcc openssl-devel bzip2-devel libffi-devel expat-devel make diffutils file gcc-c++ wget cmake git zlib-devel sqlite-devel \
14+
15+
RUN microdnf install -y --setopt=tsflags=nodocs gcc openssl-devel bzip2-devel libffi-devel expat-devel make wget tar gzip zlib-devel sqlite-devel ncurses-devel xz xz-devel \
1516
&& wget https://www.python.org/ftp/python/${PYTHON_VERSION}.${PYTHON_PATCH_VERSION}/Python-${PYTHON_VERSION}.${PYTHON_PATCH_VERSION}.tgz \
1617
&& tar xzf Python-${PYTHON_VERSION}.${PYTHON_PATCH_VERSION}.tgz \
1718
&& cd Python-${PYTHON_VERSION}.${PYTHON_PATCH_VERSION} \
@@ -40,9 +41,10 @@ ENV PATH ${PYTHON_DIR}/bin:$PATH
4041
ENV LANG C.UTF-8
4142

4243
ENV PYTHON_VERSION 3.11
43-
ENV PYTHON_PATCH_VERSION 9
44+
ENV PYTHON_PATCH_VERSION 13
4445

4546
COPY --from=build ${PYTHON_DIR} ${PYTHON_DIR}
47+
ENV LD_LIBRARY_PATH ${PYTHON_DIR}/lib:{LD_LIBRARY_PATH}
4648
RUN ldconfig ${PYTHON_DIR}/lib
4749

4850
# - In order to drop the root user, we have to make some directories world

runtime/nginx/Dockerfile.ubi9

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
ARG baseImage
2-
ARG dynatrace
32

43
FROM ${baseImage}
54

0 commit comments

Comments
 (0)