-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (30 loc) · 742 Bytes
/
Dockerfile
File metadata and controls
33 lines (30 loc) · 742 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
FROM alpine:latest
# Install main O/S applications required
RUN apk add --no-cache \
curl git sudo vim \
python3 py3-pip \
py3-cryptography \
openssh-client \
mariadb-client \
postgresql-client postgresql \
samba-client \
gnupg \
zip unzip
# Install main python packages required
RUN pip3 install --break-system-packages \
boto3 \
awscli \
azure-identity \
azure-mgmt-compute \
prometheus_client \
elasticsearch \
b2sdk \
minio \
dropbox \
google-api-python-client \
google-auth
COPY . /tmp/backups
RUN pip3 install --break-system-packages build && \
cd /tmp/backups && \
python3 -m build && \
pip3 install --break-system-packages dist/backups-*.tar.gz