Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker build fails #45

Open
HanXHX opened this issue May 3, 2019 · 1 comment
Open

docker build fails #45

HanXHX opened this issue May 3, 2019 · 1 comment

Comments

@HanXHX
Copy link

HanXHX commented May 3, 2019

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
Copy link
Owner

aeris commented May 3, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants