Skip to content

Commit 6d6d939

Browse files
committed
OC-26097: kpi-docker-eks (form-designer) Jenkins Job is failing to build KPI image
- As KPI Dockerfile is using python base image with version 3.10. It always pull the latest patch version of python 3.10. The last successfull kpi build was with python version 3.10.18. After python:3.10 image gets updated with python version 3.10.19 (see: PR docker-library/python#1088) , kpi build starts failing. Thus explicity adding python version 3.10.18 to make build successfull.
1 parent 4089dfb commit 6d6d939

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM python:3.10 as build-python
1+
FROM --platform=$BUILDPLATFORM python:3.10.18 as build-python
22

33
ENV VIRTUAL_ENV=/opt/venv \
44
TMP_DIR=/srv/tmp
@@ -10,7 +10,7 @@ COPY ./dependencies/pip/requirements.txt "${TMP_DIR}/pip_dependencies.txt"
1010
RUN pip-sync "${TMP_DIR}/pip_dependencies.txt" 1>/dev/null
1111

1212

13-
from --platform=$TARGETPLATFORM python:3.10-slim
13+
from --platform=$TARGETPLATFORM python:3.10.18-slim
1414

1515
ENV DEBIAN_FRONTEND=noninteractive
1616
ENV LANG=en_US.UTF-8

0 commit comments

Comments
 (0)