File tree Expand file tree Collapse file tree 2 files changed +10
-5
lines changed
Expand file tree Collapse file tree 2 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1- FROM python:3.10 -alpine
1+ FROM python:3.12 -alpine
22
33LABEL description="Kubernetes operator to sync IamIdentityMappings to the aws-auth configmap"
44LABEL source.repository="aws_auth_eks_crd"
55LABEL source.dockerfile="Dockerfile"
66
77RUN apk update --no-cache && apk upgrade --no-cache && apk add build-base
8+ RUN pip install poetry
9+
810ADD . /app/
911WORKDIR /app
1012
11- RUN python -m pip install .
13+ RUN poetry config virtualenvs.create false
14+ RUN mv poetry.lock poetry.lock.bak || true
15+ RUN poetry install --only=main --no-cache
1216
1317RUN addgroup -S operatorgroup
1418RUN adduser --system --ingroup operatorgroup --disabled-password --no-create-home --shell /sbin/nologin k8soperator
Original file line number Diff line number Diff line change @@ -10,11 +10,12 @@ packages = [
1010]
1111
1212[tool .poetry .dependencies ]
13- python = " ^3.7 "
13+ python = " ^3.9 "
1414kubernetes = " ^17.17.0"
15- kopf = " 1.32.1 "
15+ kopf = " ^1.38.0 "
1616asyncio = " ^3.4.3"
1717aiojobs = " 1.0.0"
18+ PyYAML = " ^6.0"
1819
1920[tool .poetry .dev-dependencies ]
2021bandit = " ^1.7.0"
@@ -27,7 +28,7 @@ pydocstyle = "^6.1.1"
2728pylint = " ^2.8.3"
2829pytest = " ^6.2.4"
2930pytest-cov = " ^2.12.1"
30- PyYAML = " ^5.4.1 "
31+ PyYAML = " ^6.0 "
3132vulture = " ^2.3"
3233
3334[tool .poetry .group .dev .dependencies ]
You can’t perform that action at this time.
0 commit comments