| ADD file:98d2cc6a02d8b441382116fc0d8b1663828061ba3301a117ffdba27ba9586afb in / |
| CMD ["/bin/bash"] |
| /bin/sh -c microdnf -y update && microdnf install -y python3.11 python3.11-pip && microdnf remove -y python3.11-wheel || true && rm -rf /usr/lib/python3.11/site-packages/wheel* && python3.11 -m pip install --no-cache-dir --upgrade pip setuptools "wheel>=0.46.2" && microdnf clean all |
| /bin/sh -c groupadd --gid 1000 fn && adduser --uid 1000 --gid fn fn |
| CMD ["python3.11"] |
| ENV PIP_EXTRA_INDEX_URL=https://git.trademarketingforce.com/api/packages/TMF/pypi/simple/ |
| WORKDIR /function |
| COPY file:d9439016ee6760af6d9fbd9a62e4c4581371913ba370d2b4a1572ce0ed90045d in . |
| /bin/sh -c python3.11 -m pip install --no-cache-dir -r requirements.txt |
| COPY multi:f9e8d6841c3c148fdfda9304f1f67e85b2d360595f0019436c1eddc5ef3cdadf in ./ |
| /bin/sh -c python3.11 -c "import func" # TH-54131: fail build if imports missing |
| ENTRYPOINT ["fdk" "/function/fn_entry.py" "handler"] |