ruby / ruby/docker-images

3.3.0-preview1 is not supported in the current Dockerfile

Open
#52 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
84
Forks
38
Avg merge
8h 13m
Merged PRs (30d)
2

Description

https://app.circleci.com/pipelines/github/ruby/ruby-docker-images/1516/workflows/ba534e33-79f8-4898-b6f7-d8d7789ba178/jobs/4331?invite=true#step-102-4939

------
 > [ruby  9/13] COPY --from=build      /usr/local/lib/libruby.so.3.3.0-preview1      /usr/local/lib/:
------
failed to compute cache key: "/usr/local/lib/libruby.so.3.3.0-preview1" not found: not found
rake aborted!

This means the following step is failed.

COPY --from=build \
     /usr/local/lib/libruby.so.${RUBY_SO_SUFFIX:-$RUBY_VERSION} \
     /usr/local/lib/

I think this can be fix by specifying RUBY_SO_SUFFIX when ruby_version is a preview version. This should be carried out in Rakefile.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect the Rakefile and the Dockerfile step that copies libruby.so using RUBY_SO_SUFFIX, then review the linked CircleCI failure. Reproduce the preview1 image build and verify that the expected Ruby shared library is copied successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, ruby
Domain
build-system, devops
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.