forked from frekele/helicopterizer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
40 lines (33 loc) · 909 Bytes
/
Dockerfile
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
34
35
36
37
38
39
40
FROM alpine:3.4
MAINTAINER frekele <[email protected]>
RUN apk add --update --no-cache \
bash \
curl \
wget \
git \
python\
py-pip \
docker \
&& curl -sL https://get.docker.com/builds/Linux/x86_64/docker-1.11.2 > /usr/bin/docker \
&& chmod +x /usr/bin/docker \
&& pip install --upgrade pip \
&& pip install awscli
ADD ./scripts /scripts
RUN chmod -R +x /scripts
ENV STORAGE_PROVIDER='' \
BACKUP_NAME='' \
DATA_PATH='/data/' \
DATA_PATH_EXCLUDE='' \
GZIP_COMPRESSION='true' \
CLEAN_DATA_BEFORE_RESTORE='false' \
BACKUP_VERSION='' \
CRON_SCHEDULE='' \
AWS_ACCESS_KEY_ID='' \
AWS_SECRET_ACCESS_KEY='' \
AWS_S3_BUCKET_CREATE='false' \
AWS_S3_BUCKET_NAME='' \
AWS_S3_PATH='/' \
AWS_DEFAULT_REGION='us-east-1' \
AWS_S3_OPTIONS=''
ENTRYPOINT ["/scripts/run.sh"]
CMD [""]