forked from SimplesIP/pabx-app
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.
20 lines
647 B
20 lines
647 B
2 years ago
|
FROM postgres:9.6
|
||
|
|
||
|
RUN apt-get update && apt-get install -y \
|
||
|
vim git wget
|
||
|
|
||
|
RUN echo "en_US ISO-8859-1" > /etc/locale.gen
|
||
|
RUN locale-gen "en_US ISO-8859-1"
|
||
|
RUN export LC_ALL="en_US ISO-8859-1"
|
||
|
RUN update-locale
|
||
|
|
||
|
RUN git clone http://desenvolvimento:SimpleS_G1t34@192.168.115.83:3000/awade/aplicativo.git
|
||
|
|
||
|
RUN mv aplicativo/projeto/base/schema/adduser.sql /docker-entrypoint-initdb.d/adduser.sql
|
||
|
RUN mv aplicativo/projeto/base/schema/createSchema.sql /docker-entrypoint-initdb.d/createSchema.sql
|
||
|
RUN mv aplicativo/projeto/base/schema/putData.sql /docker-entrypoint-initdb.d/putData.sql
|
||
|
|
||
|
RUN rm -rf aplicativo
|
||
|
|
||
|
EXPOSE 5432
|