mitre / mitre/serverless-inspec-lambda

Deprecation Warning: The `--path` flag is deprecated for Bundler

Open
#25 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Ruby
Stars
5
Forks
2
PR merge metrics
No merged PRs in 30d

Description

Description

The --path flag is deprecated because it relies on being remembered across bundler invocations, which bundler will no longer do in future versions.

Relevant Link

https://github.com/mitre/serverless-inspec-lambda/blob/e355e54544ae8f44ffd78512160557c6af713974/src/Dockerfile#L41

Possible solution

bundle config set --local path 'vendor/bundle/'
or
bundle config set --global path 'vendor/bundle/'

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

Open src/Dockerfile at line 41 and inspect how Bundler installs dependencies during the image build. Replace the deprecated path-flag usage with the documented Bundler configuration approach, then build the image and confirm the deprecation warning is gone.

Written by the indexing model from the issue text.

Assessment

Tech stack
dockerfile, ruby
Domain
build-system, devops
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.