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 1
1
# With Python 3.12.4 on Alpine 3.20, s3cmd 2.4.0 fails with an AttributeError.
2
2
# See ITSE-1440 for details.
3
- FROM python:3.12.3 -alpine
3
+ FROM python:3.12.4 -alpine
4
4
5
5
# Current version of s3cmd is in edge/testing repo
6
6
RUN echo https://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
@@ -12,10 +12,15 @@ RUN apk update \
12
12
postgresql14-client \
13
13
py3-magic \
14
14
py3-dateutil \
15
- s3cmd \
16
15
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
19
24
# Install sentry-cli
20
25
RUN curl -sL https://sentry.io/get-cli/ | bash
21
26
You can’t perform that action at this time.
0 commit comments