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

Dockerfile installation error #2488

Closed
zoelesv opened this issue Oct 2, 2024 · 4 comments
Closed

Dockerfile installation error #2488

zoelesv opened this issue Oct 2, 2024 · 4 comments
Assignees
Labels
bug A bug.

Comments

@zoelesv
Copy link
Contributor

zoelesv commented Oct 2, 2024

Describe the bug
Failure to install Bundler and dependencies during Docker build process.

To Reproduce
Steps to reproduce the behavior:

  1. Clone the repository: git clone [https://github.com/academicpages/academicpages.github.io]
  2. Run: docker build -t jekyll-site .

Expected behavior
[+] Building 1.9s (8/9) docker:desktop-linux
=> CANCELED [1/5] FROM docker.io/library/ruby:3.2@sha256:f91b6fc160a5a82 0.0s
=> CACHED [2/5] RUN apt-get update && apt-get install -y build-essen 0.0s
=> CACHED [3/5] WORKDIR /usr/src/app 0.0s
=> ERROR [4/5] COPY Gemfile Gemfile.lock ./ 0.0s

Screenshots
Screenshot 2024-10-01 at 9 17 24 PM

Desktop (please complete the following information):

  • OS: macOS 13.0.1
@JohannaXiao
Copy link

Same for me

@JohannaXiao
Copy link

I solved this by changing COPY Gemfile Gemfile.lock ./ to COPY Gemfile ./

rjzupkoii added a commit that referenced this issue Oct 3, 2024
@rjzupkoii
Copy link
Collaborator

Pull request has been merged, please let me know if this fixes the problem.

@rjzupkoii rjzupkoii self-assigned this Oct 3, 2024
@rjzupkoii rjzupkoii added the bug A bug. label Oct 3, 2024
@zoelesv
Copy link
Contributor Author

zoelesv commented Oct 3, 2024

Pull request has been merged, please let me know if this fixes the problem.

Thank you. Problem solved!

@zoelesv zoelesv closed this as completed Oct 3, 2024
Guancheng1 pushed a commit to Guancheng1/Guancheng1.github.io that referenced this issue Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug.
Projects
None yet
Development

No branches or pull requests

3 participants