FROM java:openjdk-7-jre

MAINTAINER Meir Wahnon

RUN apt-get install unzip \
  && wget "http://github.com/CloudSlang/cloud-slang/releases/download/cloudslang-0.7.6/cslang-cli.zip" \
  && unzip cslang-cli.zip \
  && rm cslang-cli.zip

WORKDIR /cslang/cslang/cslang/bin/

CMD ["bash","cslang"]

FROM java:openjdk-7-jre

MAINTAINER Meir Wahnon

RUN groupadd -r cslang && useradd -r -g cslang cslang

RUN apt-get install unzip \
  && wget "http://github.com/CloudSlang/cloud-slang/releases/download/cloudslang-0.7.6/cslang-cli.zip" \
  && unzip cslang-cli.zip \
  && rm cslang-cli.zip

WORKDIR /cslang/cslang/cslang/bin/

CMD ["bash","cslang"]

Update Dockerfile - add user
Update Dockerfile - add user