We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 86f6543 + 08322a9 commit 5eac2c7Copy full SHA for 5eac2c7
Dockerfile
@@ -1,6 +1,6 @@
1
# With Python 3.12.4 on Alpine 3.20, s3cmd 2.4.0 fails with an AttributeError.
2
# See ITSE-1440 for details.
3
-FROM python:3.12.3-alpine
+FROM python:3.12.4-alpine
4
5
# Current version of s3cmd is in edge/testing repo
6
RUN echo https://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
@@ -12,10 +12,15 @@ RUN apk update \
12
postgresql14-client \
13
py3-magic \
14
py3-dateutil \
15
- s3cmd \
16
curl \
17
- jq
18
-
+ jq
+
+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
24
# Install sentry-cli
25
RUN curl -sL https://sentry.io/get-cli/ | bash
26
0 commit comments