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

Failing Docker Image CI #1052

Closed
pourmand1376 opened this issue Dec 25, 2022 · 4 comments · Fixed by #1074
Closed

Failing Docker Image CI #1052

pourmand1376 opened this issue Dec 25, 2022 · 4 comments · Fixed by #1074

Comments

@pourmand1376
Copy link
Collaborator

Docker CI has failed in the commits for today. But, nor Gemfile nor Dockerfile have changed, so this must to do with the update on one of the used libraries.

I have to investigate this one more.

#10 26.69 An error occurred while installing sass-embedded (1.57.1), and Bundler cannot
#10 26.69 continue.
#10 26.69 
#10 26.69 In Gemfile:
#10 26.69   jekyll-archives was resolved to 2.2.1, which depends on
#10 26.69     jekyll was resolved to 4.3.1, which depends on
#10 26.69       jekyll-sass-converter was resolved to 3.0.0, which depends on
#10 26.69         sass-embedded
#10 ERROR: process "/bin/sh -c bundle install" did not complete successfully: exit code: 5
------
 > [5/5] RUN bundle install:
#10 26.69 `block (2 levels) in create_threads'
#10 26.69 
#10 26.69 An error occurred while installing sass-embedded (1.57.1), and Bundler cannot
#10 26.69 continue.
#10 26.69 
#10 26.69 In Gemfile:
#10 26.69   jekyll-archives was resolved to 2.2.1, which depends on
#10 26.69     jekyll was resolved to 4.3.1, which depends on
#10 26.69       jekyll-sass-converter was resolved to 3.0.0, which depends on
#10 26.69         sass-embedded
------
Dockerfile:13
--------------------
  11 |     WORKDIR /srv/jekyll
  12 |     ADD Gemfile /srv/jekyll/
  13 | >>> RUN bundle install
  14 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c bundle install" did not complete successfully: exit code: 5
Error: buildx failed with: ERROR: failed to solve: process "/bin/sh -c bundle install" did not complete successfully: exit code: 5
@pourmand1376
Copy link
Collaborator Author

Fortunately, the currently pushed image is fine. So, those who use docker for their website should have no problem.

Probably it is the fault of this sass-embedded package.

@pourmand1376
Copy link
Collaborator Author

I did hours of research and I didn't understand how to solve this problem.

@alshedivat
Copy link
Owner

alshedivat commented Jan 1, 2023

@pourmand1376, do you know if there's a way to reproduce this issue on docker locally? the non-docker build works totally fine, so it could be due to conflicts in the libraries installed in the docker image (?)

@pourmand1376
Copy link
Collaborator Author

@alshedivat Thanks for commenting. I couldn't reproduce the issue locally. It seems like sass-embedded stopped working with alpine (the base image for jekyll/jekyll), so I decided to switch to using Debian as my base image. It has more support and is less likely to break.

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

Successfully merging a pull request may close this issue.

3 participants