diff --git a/services/tunnelbroker/Dockerfile b/services/tunnelbroker/Dockerfile index 5efa74b3c..f681446ad 100644 --- a/services/tunnelbroker/Dockerfile +++ b/services/tunnelbroker/Dockerfile @@ -1,38 +1,38 @@ -FROM commapp/services-base:1.0 +FROM commapp/services-base:1.1 ENV SHELL=/bin/bash RUN apt-get update && apt-get install -y \ libcurl4-openssl-dev \ libssl-dev \ zlib1g-dev \ && rm -rf /var/lib/apt/lists/* ARG MAKE_JOBS=4 ENV MAKEFLAGS="-j${MAKE_JOBS}" RUN mkdir /transferred/scripts WORKDIR /transferred/scripts # Install SDKs COPY services/tunnelbroker/docker/install_amqp_cpp.sh . RUN ./install_amqp_cpp.sh COPY services/tunnelbroker/docker/install_cryptopp.sh . RUN ./install_cryptopp.sh COPY services/tunnelbroker/docker/install_libuv.sh . RUN ./install_libuv.sh ARG COMM_TEST_SERVICES ENV COMM_TEST_SERVICES=${COMM_TEST_SERVICES} WORKDIR /transferred COPY native/cpp/CommonCpp/grpc/protos/tunnelbroker.proto protos/tunnelbroker.proto COPY services/tunnelbroker/docker/ scripts/ COPY services/tunnelbroker/ . RUN scripts/build_server.sh CMD if [ "$COMM_TEST_SERVICES" -eq 1 ]; then scripts/run_tests.sh; else scripts/run_server.sh; fi