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-compose build fails due to Gemfile.lock missing #114

Open
georgemclaughlin opened this issue Jun 20, 2020 · 5 comments
Open

docker-compose build fails due to Gemfile.lock missing #114

georgemclaughlin opened this issue Jun 20, 2020 · 5 comments

Comments

@georgemclaughlin
Copy link

Describe the bug

Running the docker-compose build fails due to the Gemfile.lock file missing.

Steps to reproduce the behavior

  1. Check out the repository
  2. Run docker-compose build
  3. Receive the following error
    Step 8/13 : COPY Gemfile Gemfile.lock word-to-markdown.gemspec ./ ERROR: Service 'app' failed to build: COPY failed: stat /var/lib/docker/tmp/docker-builder520016694/Gemfile.lock: no such file or directory

Expected behavior

docker-compose build runs successfully

Screenshots

If applicable, add screenshots to help explain your problem.
image

Additional context

None

@stale
Copy link

stale bot commented Aug 22, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Aug 22, 2020
@mosaic-vance-tran
Copy link

Also seeing this issue on macOS 10.15.6 running Docker Desktop community v 2.3.0.4.

@stale stale bot removed the wontfix label Aug 28, 2020
@kimllee
Copy link

kimllee commented Nov 1, 2020

Hello,

Same issue here on Ubuntu 20.04LTS. docker-compose version 1.25.5.

@gagandaroach
Copy link

Gemfile.lock needs to be checked into the repository

@benbalter
Copy link
Owner

I removed references to the lock file in 222ee1e, and testing locally, the Dockerfile now builds as expected.

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

5 participants