Comments (5)
I've create more .s2i/save-artifacts and .s2i/assemble (with execution rights). But nothing happens
from rails-ex.
It was in .s2i/bin/assemble, now I've got passed that moment.
Executing
gem install bundler -f
npm install yarn
node_modules/yarn/bin/yarn install
from rails-ex.
The build got stuck with yarn ...:(
Modifying it for bower (deprecated, by the way)
from rails-ex.
My .s2i/bin/assemble file installs the latest bundler, bower, and install javascript:
#!/bin/bash
echo "Updating bundler to new version"
cd $HOME
gem install bundler -f
echo "moving bundler to /tmp/src"
cp -r ./bin /tmp/src
rm -rf ./bin/
echo "Executing original script:"
/usr/libexec/s2i/assemble
rc=$?
if [ $rc -eq 0 ]; then
echo "After successful assembling"
npm install bower
node_modules/bower/bin/bower install
echo "Finished install bower assets"
else
echo "After failed assembling"
fi
exit $rc
from rails-ex.
Documentation for how to perform additional instructions are located in the docs folder of this repository here: https://github.com/openshift/source-to-image/tree/master/docs
information specific to the assemble script is located in this user guide: https://github.com/openshift/source-to-image/blob/master/docs/user_guide.md
from rails-ex.
Related Issues (19)
- OpenShift logging is disabled in production HOT 10
- templates are duplicated in container repository HOT 5
- PG::ConnectionBad with Openshift Deployment HOT 5
- List of changes HOT 1
- Rails container does not restart properly on OpenShift 4.x HOT 2
- Support Ruby 2.7 HOT 13
- Rails example issues HOT 13
- s2i with ruby 2.6 does not create secret_key_base HOT 3
- Testing issue creation for samples operator
- No Action Required !! Testing automation workflow HOT 1
- template is not running properly on OpenShift 4 HOT 2
- Standard welcome page contents HOT 5
- Update to Ruby on Rails 5.X HOT 2
- build failed with ruby-20-rhel7 s2i builder image HOT 2
- Update to Rails 5.1 HOT 2
- Consistent example applications HOT 21
- rails-ex repo does not support ruby version below 2.3 HOT 5
- Can't send emails from my openshift v3 app HOT 1
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 rails-ex.