Skip to content

Commit 458bd58

Browse files
committed
fix(packaging): install s3cmd via apt instead of pip
The packager Docker image build started failing after the base image was updated to debian:trixie, which ships Python 3.13 and enforces PEP 668. `pip3 install s3cmd==2.4.0` is now refused with "externally-managed-environment". Trixie packages s3cmd 2.4.0-3, so install it via apt and drop the no-longer-needed python3-pip dependency.
1 parent 61c40ad commit 458bd58

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

packaging/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,7 @@ LABEL maintainer="k6 Developers <developers@k6.io>"
55
ENV DEBIAN_FRONTEND=noninteractive
66

77
RUN apt-get update -y && \
8-
apt-get install -y apt-utils createrepo-c curl git gnupg2 python3-pip unzip rpm
9-
10-
RUN pip3 install "s3cmd==2.4.0"
8+
apt-get install -y apt-utils createrepo-c curl git gnupg2 s3cmd unzip rpm
119

1210
# Download awscli, check GPG signature and install.
1311
COPY ./awscli-key.gpg .

0 commit comments

Comments
 (0)