Commit 22ca684695dc935e2d014bf52374995eb09663af
1 parent
729402e0
Exists in
master
Configuração do terminal a ser utilizado nos containers
Showing
4 changed files
with
17 additions
and
4 deletions
Show diff stats
jod/Dockerfile
@@ -31,8 +31,11 @@ RUN dos2unix /entrypoint.sh && chmod +x /entrypoint.sh | @@ -31,8 +31,11 @@ RUN dos2unix /entrypoint.sh && chmod +x /entrypoint.sh | ||
31 | 31 | ||
32 | ##################### FIM DA INSTALACAO ##################### | 32 | ##################### FIM DA INSTALACAO ##################### |
33 | 33 | ||
34 | +# Definição do terminal a ser utilizado | ||
35 | +ENV TERM xterm | ||
36 | + | ||
34 | # Exposição da porta de conexão ao Apache | 37 | # Exposição da porta de conexão ao Apache |
35 | EXPOSE 8080 | 38 | EXPOSE 8080 |
36 | 39 | ||
37 | # Inicialização dos serviços Apache e Memcache | 40 | # Inicialização dos serviços Apache e Memcache |
38 | -CMD ["/entrypoint.sh"] | ||
39 | \ No newline at end of file | 41 | \ No newline at end of file |
42 | +CMD ["/entrypoint.sh"] |
mysql/Dockerfile
@@ -66,8 +66,11 @@ RUN service mysqld start && \ | @@ -66,8 +66,11 @@ RUN service mysqld start && \ | ||
66 | 66 | ||
67 | ##################### FIM DA INSTALACAO ##################### | 67 | ##################### FIM DA INSTALACAO ##################### |
68 | 68 | ||
69 | +# Definição do terminal a ser utilizado | ||
70 | +ENV TERM xterm | ||
71 | + | ||
69 | # Exposição da porta de conexão ao MySQL Server | 72 | # Exposição da porta de conexão ao MySQL Server |
70 | EXPOSE 3306 | 73 | EXPOSE 3306 |
71 | 74 | ||
72 | # Inicialização do serviço | 75 | # Inicialização do serviço |
73 | -CMD ["/usr/bin/mysqld_safe", "--bind-address=0.0.0.0"] | ||
74 | \ No newline at end of file | 76 | \ No newline at end of file |
77 | +CMD ["/usr/bin/mysqld_safe", "--bind-address=0.0.0.0"] |
sei/Dockerfile
@@ -62,8 +62,11 @@ RUN dos2unix /entrypoint.sh && chmod +x /entrypoint.sh | @@ -62,8 +62,11 @@ RUN dos2unix /entrypoint.sh && chmod +x /entrypoint.sh | ||
62 | 62 | ||
63 | ##################### FIM DA INSTALACAO ##################### | 63 | ##################### FIM DA INSTALACAO ##################### |
64 | 64 | ||
65 | +# Definição do terminal a ser utilizado | ||
66 | +ENV TERM xterm | ||
67 | + | ||
65 | # Exposição da porta de conexão ao Apache | 68 | # Exposição da porta de conexão ao Apache |
66 | EXPOSE 80 | 69 | EXPOSE 80 |
67 | 70 | ||
68 | # Inicialização dos serviços Apache e Memcache | 71 | # Inicialização dos serviços Apache e Memcache |
69 | -CMD ["/entrypoint.sh"] | ||
70 | \ No newline at end of file | 72 | \ No newline at end of file |
73 | +CMD ["/entrypoint.sh"] |
solr/Dockerfile
@@ -109,10 +109,14 @@ RUN service solr start && sleep 20 && \ | @@ -109,10 +109,14 @@ RUN service solr start && sleep 20 && \ | ||
109 | curl 'http://localhost:8983/solr/admin/cores?action=RELOAD&core=sei-publicacoes' | 109 | curl 'http://localhost:8983/solr/admin/cores?action=RELOAD&core=sei-publicacoes' |
110 | 110 | ||
111 | ##################### FIM DA INSTALACAO ##################### | 111 | ##################### FIM DA INSTALACAO ##################### |
112 | + | ||
113 | +# Definição do terminal a ser utilizado | ||
114 | +ENV TERM xterm | ||
115 | + | ||
112 | WORKDIR /opt/solr/example | 116 | WORKDIR /opt/solr/example |
113 | 117 | ||
114 | # Exposição da porta de conexão ao Apache | 118 | # Exposição da porta de conexão ao Apache |
115 | EXPOSE 8983 | 119 | EXPOSE 8983 |
116 | 120 | ||
117 | # Inicialização dos serviços Apache e Memcache | 121 | # Inicialização dos serviços Apache e Memcache |
118 | -CMD ["java", "-jar", "start.jar"] | ||
119 | \ No newline at end of file | 122 | \ No newline at end of file |
123 | +CMD ["java", "-jar", "start.jar"] |