adambien / s2i-payara Goto Github PK
View Code? Open in Web Editor NEWPayara Source To Image for OpenShift
Home Page: https://adambien.github.io/s2i-payara
License: MIT License
Payara Source To Image for OpenShift
Home Page: https://adambien.github.io/s2i-payara
License: MIT License
Hi Adam,
I know that this is a quite old project now (3 years) but was looking for an openshift builder for Payara and found this one. Unfortunately, following the guide, I get the following in the bc log:
_=/usr/bin/printenv
ls: cannot access /tmp/src/*.war: No such file or directory
### Installing Thin WARs into /opt/deploy
cp: cannot stat '/tmp/src/*.war': No such file or directory
error: build error: error building at STEP "RUN /usr/libexec/s2i/assemble": error while running runtime: exit status 1
Here is the sequence of commands that I'm running:
$ git clone https://github.com/AdamBien/s2i-payara
$ cd s2i-payara
$ docker build -t airhacks/s2i-payara .
$ oc import-image s2i-payara --from=airhacks/s2i-payara:latest --confirm
$ oc new-app s2i-payara:latest~/. --name=thinwar
$ cd sample
$ oc start-build --from-dir . thinwar
What obviously happens is that the WAR is expected to be found in /tmp/src
and, in my case, this isn't the case, of course, as it is in the /s2i-payara/sample
directory, as cloned from your GIT repository. Looking in the assemble file, I can see that the SRC
environment variable is initialized to /tmp/src
. Interesting thing, modifying this to ../sample
or even moving the /s2i-payara/sample
into /tmp/src
doesn't change anything and it raises the same exception.
Would you be so kind to assist how could I get this running ?
Many thanks in advance.
Kind regards,
Nicolas DUMINIL
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.