Skip to content

Commit 0c25509

Browse files
DXE-6206 Merge pull request #140 from akamai/release/v2.33.5
Release/v2.33.5 - fix
2 parents 54e6ec6 + 9f40c01 commit 0c25509

File tree

3 files changed

+26
-5
lines changed

3 files changed

+26
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
## v2.33.5 (Feb 26, 2026)
44

55
* Upgraded Akamai Terraform Provider to `v10.0.0`.
6-
* Fixed problems with `appsec` and `firewall` images.
6+
* Fixed problems with `appsec`, `cloudlets` and `firewall` images.
77

88
## v2.33.4 (Jan 22, 2026)
99

dockerfiles/cloudlets.Dockerfile

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,20 @@ ARG BASE=akamai/base
1010

1111
FROM ${BASE}
1212

13+
COPY patches/ /tmp/patches/
14+
1315
RUN mkdir -p /cli/.akamai-cli/src \
1416
&& apk add --no-cache python3 py3-pip \
15-
&& apk add --no-cache --virtual .dev git gcc python3-dev py3-setuptools libffi-dev musl-dev openssl-dev \
17+
&& apk add --no-cache --virtual .dev git gcc python3-dev libffi-dev musl-dev openssl-dev \
1618
&& git clone https://github.com/akamai/cli-cloudlets.git /cli/.akamai-cli/src/cli-cloudlets \
19+
&& git -C /cli/.akamai-cli/src/cli-cloudlets apply --ignore-whitespace /tmp/patches/cli-cloudlets.patch \
20+
&& rm -rf /tmp/patches \
1721
&& python3 -m venv /cli/.akamai-cli/venv/cli-cloudlets \
1822
&& source /cli/.akamai-cli/venv/cli-cloudlets/bin/activate \
1923
&& python -m pip install --no-cache-dir --upgrade pip \
2024
&& python -m pip install --no-cache-dir --only-binary :all: -r /cli/.akamai-cli/src/cli-cloudlets/requirements.txt \
21-
# Force upgrade setuptools to fix CVE-2025-47273 (even though requirements.txt has it, ensure it's applied)
22-
&& python -m pip install --no-cache-dir --upgrade --force-reinstall 'setuptools>=78.1.1' \
2325
&& deactivate \
24-
# Remove pip from the venv to reduce attack surface (keep setuptools for pkg_resources needed by prettytable)
26+
# Remove pip from the venv to reduce attack surface
2527
&& rm -rf /cli/.akamai-cli/venv/cli-cloudlets/bin/pip* \
2628
&& rm -rf /cli/.akamai-cli/venv/cli-cloudlets/lib/python*/site-packages/pip \
2729
&& rm -rf /cli/.akamai-cli/venv/cli-cloudlets/lib/python*/site-packages/pip-* \

patches/cli-cloudlets.patch

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
Subject: [PATCH] Bump prettytable to 3.17.0
2+
---
3+
Index: requirements.txt
4+
IDEA additional info:
5+
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
6+
<+>UTF-8
7+
===================================================================
8+
diff --git a/requirements.txt b/requirements.txt
9+
--- a/requirements.txt (revision 227cea9c6345a8878dab42e5905c0829b84344b9)
10+
+++ b/requirements.txt (date 1772190587146)
11+
@@ -5,7 +5,7 @@
12+
openpyxl==3.1.2
13+
pandas==2.2.2
14+
pre-commit==3.3.3
15+
-prettytable==1.0.0
16+
+prettytable==3.17.0
17+
requests>=2.25.1,<3.0
18+
rich==13.3.3
19+
tabulate==0.9.0

0 commit comments

Comments
 (0)