Comments (2)
We have a couple of generated gems that are in the same repo as our application.
Would it be possible to see an example?
Would it be possible to look through the Gemfile/ Gemfile.lock for all gems specified with with a path and copy them before running bundle install
If these gems are in a subdirectory of the main application they will already be copied, but their absolute paths on the resulting container will be different than on your development machine.
If these gems are outside of the directory of the main application, they won't be copied to the build machine at all.
If I can see an example (either an existing project on GitHub or a small test case) I can explore getting it to work. I would also welcome pull requests.
from dockerfile-rails.
Please reopen once you have an example or more information. I definitely feel this is doable, but I don't want to guess.
from dockerfile-rails.
Related Issues (20)
- `yarn: not found` when using `jsbundling-rails` with `--parallel` option HOT 6
- Fly: `--swap` without `--root` lead to permission problems with fly volumes HOT 1
- RAILS_MASTER_KEY as build-time var HOT 2
- Adjust PATH when `--sudo` is specified
- [Suggestion] Prominently warn or error if on arm with no platform specified HOT 3
- Support secrets for a private gemserver HOT 2
- Expose BUNDLE_WITHOUT as ARG to enable building test and production images HOT 1
- Add curl HOT 2
- 1.5.2 Dockerfile breaks on ECS HOT 4
- `--max-idle` option generates corrupted Dockerfile
- `--max-idle=n` should now be added for Puma
- dockerfile_generator.rb:505:in `>=': comparison of Gem::Version with String failed (ArgumentError)
- Install Bun when it is being used instead of Node HOT 17
- Don't default to sqlite3, or provide option to disable? HOT 2
- vendor directory is empty in CI HOT 1
- `packages` directive on `dockerfile.yaml` doesn't install all packages
- replace frozen-lockfile with immutable for yarn >= 2
- [REQ] Is there a plan to support Alpine Linux in `dockerfile-rails` instead of the Debian OS? HOT 7
- Node being installed even if Bun is being used HOT 2
- Error installing psych (5.1.2) when creating DockerFile with Rails 7.1.2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dockerfile-rails.