Commit e7269f07 authored by Carlos Juliano Viana's avatar Carlos Juliano Viana
Browse files

Removendo a criação do diretório /tmp/sgad/sandbox do Dockerfile e o trecho...

Removendo a criação do diretório /tmp/sgad/sandbox do Dockerfile e o trecho para criação dos diretórios
de sandbox e runtime do script sgad.sh

[SOMA-3993]
[SOMA-2554]
parent d4677bd8
......@@ -42,7 +42,7 @@ RUN mkdir sgarest-daemon && \
WORKDIR /sgad
RUN mkdir projects && mkdir algorithms && mkdir logs && mkdir -p /tmp/sgad/sandbox
RUN mkdir projects && mkdir algorithms && mkdir logs
RUN cp ../sgarest-daemon/collect_execution_data .
RUN cp ../sgarest-daemon/flowmonitor .
RUN rm -rf ../sgarest-daemon
......
......@@ -42,7 +42,7 @@ RUN mkdir sgarest-daemon && \
WORKDIR /sgad
RUN mkdir projects && mkdir algorithms && mkdir logs && mkdir -p /tmp/sgad/sandbox
RUN mkdir projects && mkdir algorithms && mkdir logs
RUN cp ../sgarest-daemon/collect_execution_data .
RUN cp ../sgarest-daemon/flowmonitor .
RUN rm -rf ../sgarest-daemon
......
......@@ -39,13 +39,5 @@ if [ -z ${configfile} ]; then
configfile=sgad.cfg
fi
hostruntimedir="/tmp/chuva"
sgadruntimedir="${hostruntimedir}/sgad"
runtimesandboxdir="${sgadruntimedir}/sandbox"
[ ! -e $hostruntimedir ] && echo "mkdir $hostruntimedir..." && mkdir $hostruntimedir
[ ! -e $sgadruntimedir ] && echo "mkdir $sgadruntimedir..." && mkdir $sgadruntimedir
[ ! -e $runtimesandboxdir ] && echo "mkdir $runtimesandboxdir..." && mkdir $runtimesandboxdir
eval $(luarocks path --bin)
sgad ${configfile} ${sga_name} 2>&1 | tee -a "${logfile}"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment