jshmrtn / s2i-nodejs-nginx Goto Github PK
View Code? Open in Web Editor NEW:wrench: Build static sites on nodejs. Run them on NGINX. Based upon Centos7.
Home Page: https://hub.docker.com/r/jshmrtn/s2i-nodejs-nginx/
:wrench: Build static sites on nodejs. Run them on NGINX. Based upon Centos7.
Home Page: https://hub.docker.com/r/jshmrtn/s2i-nodejs-nginx/
Hi,
I am trying to use it and got the following issue -
| npm ERR! missing script: compile
| npm timing npm Completed in 95ms
| npm ERR! A complete log of this run can be found in:
| npm ERR! /tmp/.npm-cache/_logs/2018-08-15T22_31_58_368Z-debug.log
| error: build error: non-zero (13) exit code from jshmrtn/s2i-nodejs-nginx@sha256:d7626a420e0eb29c21f71be555f3488eb41118a194b11f496739183a08d2eabb
Current versions:
OpenShift : 3.9
Minishift : minishift-1.22.0-windows-amd64
VMBox: Version 5.2.18 r124319 (Qt5.6.2)
Command : oc new-app jshmrtn/s2i-nodejs-nginx:latest~https://github.com/isreehari/nodejsnginx.git
Here is my current sample project repo - https://github.com/isreehari/nodejsnginx
Please provide the example template for the project.
| Commit: 3af429bbad5de6a14465274513c252b30a4c1be0 (first commit)
| Author: Rodrigo Ramalho [email protected]
| Date: Mon Apr 16 17:34:41 2018 -0300
| ---> Installing application source...
| ---> Installing stock NGINX configuration...
| ---> Installing your NodeJS dependencies...
| yarn install v1.5.1
| error An unexpected error occurred: "EACCES: permission denied, scandir '/opt/app-root/src/.config/yarn/link'".
| info If you think this is a bug, please open a bug report with the information provided in "/opt/app-root/src/yarn-error.log".
| info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
| error: build error: non-zero (13) exit code from jshmrtn/s2i-nodejs-nginx@sha256:d2aa538f15d8db9b4b7420b602331676af19d176c3f313a4c7931e3d168b75b6
I search it from offical registry, and spend an afternoon try to make it work, here is some problem I have met :
/opt/app-root/etc/nginx.conf
is incorrect for nginx , I get some nginx config syntax error with ";" need in the end , etcthis images is good , but i hope next time nobody come accross these problem any more..
oh, my poor english..
REPOSITORY TAG IMAGE ID CREATED SIZE
jshmrtn/s2i-nodejs-nginx lts 120558da59d8 2 weeks ago 537MB
🚨 You need to enable Continuous Integration on all branches of this repository. 🚨
To enable Greenkeeper, you need to make sure that a commit status is reported on all branches. This is required by Greenkeeper because we are using your CI build statuses to figure out when to notify you about breaking changes.
Since we did not receive a CI status on the greenkeeper/initial
branch, we assume that you still need to configure it.
If you have already set up a CI for this repository, you might need to check your configuration. Make sure it will run on all new branches. If you don’t want it to run on every branch, you can whitelist branches starting with greenkeeper/
.
We recommend using Travis CI, but Greenkeeper will work with every other CI service as well.
Once you have installed CI on this repository, you’ll need to re-trigger Greenkeeper’s initial Pull Request. To do this, please delete the greenkeeper/initial
branch in this repository, and then remove and re-add this repository to the Greenkeeper integration’s white list on Github. You'll find this list on your repo or organiszation’s settings page, under Installed GitHub Apps.
After the last push to Dockerhub (05.12.2018) the version 8 and 10 of the image seem to be broken.
When using those we get an error message:
---> Restoring artifacts...
---> Installing application source...
---> Installing custom NGINX configuration...
---> Installing your NodeJS dependencies... /usr/libexec/s2i/install-deps: line 9: npm: command not found
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.