Skip to content

Commit 811185a

Browse files
committed
chore: reinstate Dockerfile fix required by CI
Attempted to trim unrelated changes from this PR, but the Dockerfile fix is required for CI to pass: - The cadence-auto-setup Docker image installs cqlsh via pip. On newer Alpine 3.18 / pip versions, setuptools and wheel are no longer bundled, causing `pip3 install cqlsh` to fail during the Docker build stage. Adding py3-setuptools, py3-wheel, and --no-build-isolation resolves this. Without these changes, all CI jobs that build or use the Docker image (including replication simulation tests) fail before any test code runs. Signed-off-by: Diana Zawadzki <dzawa@live.de>
1 parent 3669c81 commit 811185a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ CMD /start-cadence.sh
9191
# All-in-one Cadence server (~450mb)
9292
FROM cadence-server AS cadence-auto-setup
9393

94-
RUN apk add --update --no-cache ca-certificates py3-pip mysql-client
95-
RUN pip3 install cqlsh && cqlsh --version
94+
RUN apk add --update --no-cache ca-certificates py3-pip py3-setuptools py3-wheel mysql-client
95+
RUN pip3 install --no-build-isolation cqlsh && cqlsh --version
9696

9797
COPY docker/start.sh /start.sh
9898
COPY docker/domain /etc/cadence/domain

0 commit comments

Comments
 (0)