olacabs / jackhammer

Jackhammer - One Security vulnerability assessment/management tool to solve all the security team problems.
https://jch.olacabs.com/userguide
Other
718 stars 162 forks source link

error on web build #46

Open ldwyer189 opened 7 years ago

ldwyer189 commented 7 years ago

I get the error at the bottom when running the docker-compose up d command. see the bottom.

---> Using cache ---> fbb6e3cf87f7 Step 23/48 : RUN apt-get install maven3 ---> Using cache ---> c2478d8eefb5 Step 24/48 : RUN apt-get -y install libfontconfig ---> Using cache ---> 32ac2d0ec0c6 Step 25/48 : RUN wget https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-2.1.1-linux-x86_64.tar.bz2 ---> Using cache ---> ebd3cb4c402c Step 26/48 : RUN tar xvfj ./phantomjs-2.1.1-linux-x86_64.tar.bz2 ---> Using cache ---> 4cce33280883 Step 27/48 : RUN ln -sf $(pwd)/phantomjs-2.1.1-linux-x86_64/bin/phantomjs /usr/bin ---> Using cache ---> 468c0e428ae7 Step 28/48 : RUN git clone https://github.com/sstephenson/rbenv.git /root/.rbenv ---> Using cache ---> 8ba605b74734 Step 29/48 : RUN git clone https://github.com/sstephenson/ruby-build.git /root/.rbenv/plugins/ruby-build ---> Using cache ---> 99fa37799cc4 Step 30/48 : RUN echo 'eval "$(rbenv init -)"' >> $HOME/.profile ---> Using cache ---> a6cbb3062c06 Step 31/48 : RUN echo 'eval "$(rbenv init -)"' >> $HOME/.bashrc ---> Using cache ---> f4c8ec4e0a7a Step 32/48 : RUN rbenv install 2.3.0 ---> Using cache ---> df397cdedf69 Step 33/48 : RUN rbenv global 2.3.0 ---> Using cache ---> 826aaab4b6e4 Step 34/48 : RUN gem install bundler ---> Using cache ---> c567a6f0a905 Step 35/48 : WORKDIR /tmp ---> Using cache ---> 5cf5085bba89 Step 36/48 : ADD app/Gemfile Gemfile ---> Using cache ---> aaf450232c0f Step 37/48 : ADD app/Gemfile.lock Gemfile.lock ---> Using cache ---> 122d7c3474f2 Step 38/48 : ADD bundle.sh bundle.sh ---> Using cache ---> 284f5e6913b1 Step 39/48 : RUN bash bundle.sh ---> Running in e99d39f77d5e bundle.sh: line 13: syntax error: unexpected end of file ERROR: Service 'web' failed to build: The command '/bin/sh -c bash bundle.sh' returned a non-zero code: 2

kmadhusudhan commented 7 years ago

Is it on a windows machine?

sampathmende commented 6 years ago

yes