Skip to content

Commit 07a6eab

Browse files
committed
Repo install of s3cmd, no more pip
1 parent 785f799 commit 07a6eab

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Dockerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
FROM python:3-alpine
22

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
37
RUN apk update \
48
&& apk add --no-cache \
59
bash \
610
mysql-client \
7-
&& python -m pip install --upgrade pip \
8-
&& pip install s3cmd python-magic
11+
py3-magic \
12+
py3-dateutil \
13+
py3-six \
14+
s3cmd
915

1016
COPY application/ /data/
1117
WORKDIR /data

0 commit comments

Comments
 (0)