Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ARG POSTGRES_VERSION=10
- FROM postgres:${POSTGRES_VERSION}-alpine
- MAINTAINER Taylor Christie taylor.christie@getyardstick.com
- #install bup
- RUN apk --update add python python-dev py-pip make g++ gcc git bash man && \
- git clone https://github.com/bup/bup && \
- cd bup && \
- make && \
- make install && \
- pip install awscli && \
- apk -v --purge del make g++ gcc bash py-pip && \
- rm -rf /var/cache/apk/* /bup
- COPY ./postgres/e.sh /entrypoint.sh
- RUN chmod +x /entrypoint.sh
- ENV DB_HOST=localhost
- ENV DB_USER=user
- ENV DB_PASS=pass
- ENV DB_NAME=name
- # 15 minutes
- ENV waitInSeconds=900
- ENV S3_BUCKET=example
- VOLUME [ "/project" ]
- ENV BUP_DIR=/project/bup
- ENTRYPOINT [ "/entrypoint.sh" ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement