-
Notifications
You must be signed in to change notification settings - Fork 346
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document how to change for additional steps #86
Comments
I've create more .s2i/save-artifacts and .s2i/assemble (with execution rights). But nothing happens |
It was in .s2i/bin/assemble, now I've got passed that moment. gem install bundler -f |
The build got stuck with yarn ...:( |
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 |
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 |
It is possible to perform additional steps (i.e. update bundler)?
The text was updated successfully, but these errors were encountered: