forked from fabric8-analytics/fabric8-analytics-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
20 lines (13 loc) · 764 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM registry.centos.org/centos/centos:7
LABEL maintainer="[email protected]"
ENV LANG=en_US.UTF-8
# install repositories for latest stable origin and PostgreSQL 9.4
RUN yum --setopt=tsflags=nodocs install -y epel-release centos-release-openshift-origin36 && \
yum --setopt=tsflags=nodocs install -y https://download.postgresql.org/pub/repos/yum/9.4/redhat/rhel-7-x86_64/pgdg-centos94-9.4-3.noarch.rpm &&\
yum --setopt=tsflags=nodocs install -y postgresql awscli origin-clients python34-pip &&\
yum clean all &&\
pip3 install boto3
RUN mkdir -p /home/deployer/templates/
COPY env.sh deploy.sh helpers.sh purge_AWS_resources.py cleanup.sh secrets-template.yaml config-template.yaml /home/deployer/
WORKDIR /home/deployer
CMD ["./deploy.sh"]