aeris / cryptcheck

Verify some SSL/TLS website or XMPP implementation
GNU Affero General Public License v3.0
185 stars 20 forks source link

docker build fails #45

Open HanXHX opened 5 years ago

HanXHX commented 5 years ago

Hi,

I tried to build a container with your Dockerfile

Tested branch: new-scoring, latest commit Reproducible: yes

See build message:

Step 9/21 : RUN echo "gem: --no-test --no-document" > /etc/gemrc &&     gem install bundler &&  bundle install --deployment --without development test
 ---> Running in dd5c8e4448aa
Successfully installed bundler-2.0.1
Parsing documentation for bundler-2.0.1
Installing ri documentation for bundler-2.0.1
Done installing documentation for bundler after 5 seconds
1 gem installed
Don't run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
The --deployment flag requires a Gemfile.lock. Please make sure you have checked
your Gemfile.lock into version control before deploying.
The command '/bin/sh -c echo "gem: --no-test --no-document" > /etc/gemrc &&     gem install bundler &&  bundle install --deployment --without development test' returned a non-zero code: 16
aeris commented 5 years ago

Hello!

new-scoring branch is currently under heavy development and quite not usable. Docker support is experimental and mostly development related (because of tedious old ruby & openssl dependencies).

Quickly looking, you don't have Gemfile.lock file, which is generated during development and currently not commited. Remove the --deployment flag and it may work.