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

Use ruby:3.1.4-bullseye #7442

Merged
merged 1 commit into from Jun 15, 2023
Merged

Use ruby:3.1.4-bullseye #7442

merged 1 commit into from Jun 15, 2023

Conversation

Nishnha
Copy link
Member

@Nishnha Nishnha commented Jun 15, 2023

Fixes #7438

The official Docker Ruby image tags used to default to Debian Bullseye, but now that there's a new release of Debian, the Docker image points to the new release.

This breaks things when we try to build or run Core:

 > [stage-0 32/33] RUN gem install bundler -v 2.4.13 --no-document &&  rm -rf /var/lib/gems/*/cache/* &&  bundle config set --global build.psych --with-libyaml-source-dir=/home/dependabot/src/libyaml/yaml-0.2.5 &&  bundle config set --local path 'vendor' &&  bundle config set --local frozen 'true' &&  bundle config set --local without 'development' &&  bundle install &&  rm -rf ~/.bundle/cache:
#0 0.188 /usr/local/bin/ruby: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/bin/ruby)
#0 0.188 /usr/local/bin/ruby: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.35' not found (required by /usr/local/lib/libruby.so.3.1)
#0 0.188 /usr/local/bin/ruby: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /usr/local/lib/libruby.so.3.1)
#0 0.188 /usr/local/bin/ruby: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /usr/local/lib/libruby.so.3.1)
#0 0.188 /usr/local/bin/ruby: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /usr/local/lib/libruby.so.3.1)

This PR points our Ruby tag to the older Debian Bullseye image that we expect.

@Nishnha Nishnha self-assigned this Jun 15, 2023
@Nishnha Nishnha added T: bug 🐞 Something isn't working build 🛠 Relates to building and releasing Dependabot labels Jun 15, 2023
@Nishnha Nishnha marked this pull request as ready for review June 15, 2023 18:08
@Nishnha Nishnha requested a review from a team as a code owner June 15, 2023 18:08
Copy link
Member

@bdragon bdragon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this 🙏

@Nishnha
Copy link
Member Author

Nishnha commented Jun 15, 2023

Some of the smoke tests are failing but those are due to reasons outside of this PR.

Copy link
Member

@jakecoffman jakecoffman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

Maybe in the future we can keep it simple and base the whole image off of the official Ruby one to avoid this.

@Nishnha Nishnha merged commit a56659b into main Jun 15, 2023
96 of 99 checks passed
@Nishnha Nishnha deleted the nishnha/use-debian-bullseye-image branch June 15, 2023 19:04
brettfo pushed a commit to brettfo/dependabot-core that referenced this pull request Oct 11, 2023
brettfo added a commit to brettfo/dependabot-core that referenced this pull request Oct 11, 2023
Use ruby:3.1.4-bullseye

Commit taken from dependabot#7442

The docker ruby images have updated which have a different set of packages installed.  This locks to a specific image.
brettfo added a commit to brettfo/dependabot-core that referenced this pull request Oct 11, 2023
Use ruby:3.1.4-bullseye

Commit taken from dependabot#7442

The docker ruby images have updated which have a different set of packages installed.  This locks to a specific image.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build 🛠 Relates to building and releasing Dependabot T: bug 🐞 Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot rebuild local dev container for nuget
3 participants