You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
568 B
25 lines
568 B
FROM alpine:3.5
|
|
LABEL maintainer="Johannes Schickling <schickling.j@gmail.com>"
|
|
|
|
ADD install.sh install.sh
|
|
RUN sh install.sh && rm install.sh
|
|
|
|
ENV POSTGRES_DATABASE **None**
|
|
ENV POSTGRES_HOST **None**
|
|
ENV POSTGRES_PORT 5432
|
|
ENV POSTGRES_USER **None**
|
|
ENV POSTGRES_PASSWORD **None**
|
|
ENV POSTGRES_EXTRA_OPTS ''
|
|
ENV S3_ACCESS_KEY_ID **None**
|
|
ENV S3_SECRET_ACCESS_KEY **None**
|
|
ENV S3_BUCKET **None**
|
|
ENV S3_REGION us-west-1
|
|
ENV S3_PATH 'backup'
|
|
ENV S3_ENDPOINT **None**
|
|
ENV S3_S3V4 no
|
|
ENV SCHEDULE **None**
|
|
|
|
ADD run.sh run.sh
|
|
ADD backup.sh backup.sh
|
|
|
|
CMD ["sh", "run.sh"]
|