[Questions / Feature] ability to `yum install` additional packages
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- nodejs, shell
- Domain
- build-system, devops
Research direction
Start by reviewing the .s2i/bin/assemble override and /usr/libexec/s2i/assemble, then reproduce the missing dependencies with ldd chrome | grep not. Determine whether the image supports a defined way to install additional system packages without sudo; done would be a documented or implemented approach that handles the Chromium dependencies.
Written by the indexing model from the issue text.
Description
Some npm packages have additional dependencies outside the npm scope. For example the puppeteer npm package will download a recent version of Chromium. Chromium in its place depends on packages being present on the system it runs on.
When running ldd chrome | grep not it comes clear that the required packages are missing in this s2i. For example; libXcomposite.x86_64 libXcursor.x86_64 libXdamage.x86_64 etc...
- Are the any plans, or did I miss it in the docs how to install additional packages for the system? Via something similar as other
s2i's have like arequirements.txt? - I also came across the possibility to extend the
assemblescript but I doubt if that is the proper way... because it may requiresudo... (?)
Extending the assemble script by creating an .s2i/bin/assemble in the source of my project and add something like;
echo "Before assembling"
yum install libXcomposite.x86_64 libXcursor.x86_64 libXdamage.x86_64 ...
/usr/libexec/s2i/assemble
rc=$?
if [ $rc -eq 0 ]; then
echo "After successful assembling"
else
echo "After failed assembling"
fi
exit $rc
- Dominant language
- Shell
- Stars
- 173
- Forks
- 288
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 1
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from sclorg/s2i-nodejs-container
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
sclorg/s2i-nodejs-container#542 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
sclorg/s2i-nodejs-container#525 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 48/100
sclorg/s2i-nodejs-container#519 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
sclorg/s2i-nodejs-container#505 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
sclorg/s2i-nodejs-container#472 ·
All issues in sclorg/s2i-nodejs-container
Similar issues
-
Update Vish to 1.1.5 Openpackage-update
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
oSoWoSo/vOid_Community_repOsitory#144 · 1 comment ·
-
help wanted new command
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
tldr-pages/tldr#24151 ·
-
PacReq: Rune IDE Openpackage request
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
pacstall/pacstall-programs#9402 ·
-
[BUG] ci: the first prefetch-images.sh call runs before shard.txt exists, so it is always a no-op Openbug github-actions
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
update-request
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
msys2/MINGW-packages#31768 ·