docker-image-examples icon indicating copy to clipboard operation
docker-image-examples copied to clipboard

Adding asset compilation + Access to rails console

Open jhadvig opened this issue 11 years ago • 5 comments

Asset precompilation support for Rails applications.

jhadvig avatar May 06 '14 11:05 jhadvig

Will get rid of the else block and rename the asset function, also like the message difference between the docker output and builder output, but is this the template we are going to use ?

jhadvig avatar May 06 '14 13:05 jhadvig

@mfojtik I have updated the PR. Pls review

jhadvig avatar May 07 '14 08:05 jhadvig

looks good to me, @jwforres any thoughts about assets compilation support in the ruby base image?

mfojtik avatar May 09 '14 13:05 mfojtik

What's the state of this?

smarterclayton avatar May 22 '14 17:05 smarterclayton

@smarterclayton The state is that it should be working, although it is quite different from the ruby-19-centos image that we provide in the openshift repository. First we get rid of the access into the rails console with the --console flag which I introduced here. Second we re-introduced disable_asset_compilation marker from the v2 which need to by present in my-app/.sti/markers/ folder and will prevent asset precompilation if assets are already compiled

jhadvig avatar May 23 '14 13:05 jhadvig