Coder Social home page Coder Social logo

Comments (5)

chargio avatar chargio commented on June 27, 2024

I've create more .s2i/save-artifacts and .s2i/assemble (with execution rights). But nothing happens

from rails-ex.

chargio avatar chargio commented on June 27, 2024

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.

chargio avatar chargio commented on June 27, 2024

The build got stuck with yarn ...:(
Modifying it for bower (deprecated, by the way)

from rails-ex.

chargio avatar chargio commented on June 27, 2024

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.

coreydaley avatar coreydaley commented on June 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.