Comments (1)
Thanks for opening the issue and providing the steps you have tried!
It's quite difficult to add more APT packages once the baseimage has been built, because we use heavy cleanup/minifying/squashing to ensure fast download times. Also the ONBUILD
commands run before your added RUN
command.
Your idea of adding the mysql-dev packages to APT_PACKAGES
is correct, however this has to be done at build-time of the baseimage.
Since using MySQL seems to be a common use-case, I added support for it to the image. The latest version 2.4.0
now supports the mysql2
gem.
Here's how it's done: 0e91d2c
Please let me know if you have any more issues with this.
from docker-rails.
Related Issues (9)
- Unable to install packages because /var/lib/dpkg is deleted HOT 1
- Sidekiq is not running HOT 2
- Volume addition HOT 6
- rails-assets.sh failing due to missing RAILS_MASTER_KEY
- issue with HTTP request HOT 2
- Error if no Postgres Gem added to gemfile HOT 1
- syslog-ng stops HOT 6
- Unknown MySQL server host 'noop' HOT 3
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 docker-rails.