Commit b6fb4a45 authored by Isabella Almeida da Silva's avatar Isabella Almeida da Silva
Browse files

[SOMA-74][SOMA-1038] Publicar imagem Docker com suporte a pbs para a Petrobras

- Adicionando driver do pbs + binários torque no Dockerfile
parent f5034e14
......@@ -2,6 +2,7 @@ FROM ubuntu:16.04
ENV LUA_VERSION 5.3.3
ENV LUAROCKS_VERSION 2.4.2
ENV PBS_VERSION 2.5.12
ARG SGAREST_VERSION
RUN apt-get update && apt-get install -y \
......@@ -39,7 +40,17 @@ RUN mkdir sgarest-daemon && \
cd sgarest-daemon && \
luarocks install lua-schema-scm-1.rockspec && \
luarocks make sga-daemon-scm-1.rockspec && \
luarocks make sga-driver-posix-scm-1.rockspec
luarocks make sga-driver-posix-scm-1.rockspec && \
luarocks make sga-exec-scm-1.rockspec && \
luarocks make sga-driver-pbs-scm-1.rockspec
RUN curl -L https://github.com/adaptivecomputing/torque/archive/${PBS_VERSION}.zip -o pbs.zip && \
unzip pbs.zip && \
cd /torque-${PBS_VERSION} && \
./configure && \
make && \
make install && \
cd .. && rm -rf /torque-${PBS_VERSION}
WORKDIR /sgad
......
Markdown is supported
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