Dockerfile 334 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
FROM google/cloud-sdk:slim

COPY ./devops/gcp/bootstrap-osdu-module/bootstrap_schema.sh /opt 
COPY ./deployments /opt/

RUN chmod 775 /opt/bootstrap_schema.sh

RUN pip3 install -r /opt/scripts/requirements.txt && pip3 install -r /opt/scripts/gcp-deployment-requirements.txt

CMD ["/bin/bash", "-c", "source /opt/bootstrap_schema.sh"]