We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents edbf8a5 + e9fe6b6 commit 5336b2aCopy full SHA for 5336b2a
Dockerfile
@@ -1,11 +1,16 @@
1
-FROM alpine:3.15
+FROM python:3-alpine
2
3
+# Current version of s3cmd is in edge/testing repo
4
+RUN echo https://dl-cdn.alpinelinux.org/alpine/edge/testing >> /etc/apk/repositories
5
+
6
+# Install everything via repo because repo & pip installs can break things
7
RUN apk update \
8
&& apk add --no-cache \
9
bash \
10
postgresql12-client \
- python3 py-pip \
- && pip install s3cmd python-magic
11
+ py3-magic \
12
+ py3-dateutil \
13
+ s3cmd
14
15
COPY application/ /data/
16
WORKDIR /data
0 commit comments