File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 11# With Python 3.12.4 on Alpine 3.20, s3cmd 2.4.0 fails with an AttributeError.
22# See ITSE-1440 for details.
3- FROM python:3.12.3 -alpine
3+ FROM python:3.12.4 -alpine
44
55# Current version of s3cmd is in edge/testing repo
66RUN echo https://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
@@ -12,10 +12,15 @@ RUN apk update \
1212 postgresql14-client \
1313 py3-magic \
1414 py3-dateutil \
15- s3cmd \
1615 curl \
17- jq
18-
16+ jq
17+
18+ RUN wget https://github.com/s3tools/s3cmd/archive/refs/tags/v2.4.0.tar.gz \
19+ && tar xzf v2.4.0.tar.gz \
20+ && cd s3cmd-2.4.0 \
21+ && python setup.py install \
22+ && cd .. \
23+ && rm -rf s3cmd-2.4.0 v2.4.0.tar.gz
1924# Install sentry-cli
2025RUN curl -sL https://sentry.io/get-cli/ | bash
2126
You can’t perform that action at this time.
0 commit comments