play2-war-plugin | WAR Plugin for Play framework | Build Tool library
kandi X-RAY | play2-war-plugin Summary
kandi X-RAY | play2-war-plugin Summary
WAR Plugin for Play framework 2.x
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of play2-war-plugin
play2-war-plugin Key Features
play2-war-plugin Examples and Code Snippets
Community Discussions
Trending Discussions on play2-war-plugin
QUESTION
I would like to deploy an app written with Play Framework 2.5 on a Jelastic platform. I managed to use the Play2War plugin for Play but it doesn't support Play 2.5 yet.
The support of the platform recommended to use a Docker container or a VPS. I've never worked with Docker before. There is a SBT native packager plugin to provide a way to create automatically a Dockerfile with SBT. So here is my new plugins.sbt file:
...ANSWER
Answered 2017-Feb-14 at 14:19We have reproduced the issue with that docker. The docker works well at localhost but doesn't work well as Jelastic environment. The root cause is a bug JE-29972 (-nologin: this account is not available) when the user inside the docker has /sbin/nologin shell instead of /bin/bash.
As a workaround, we can suggest you change the /etc/passwd and replace daemon:x:2:2:daemon:/sbin:/sbin/nologin with daemon:x:2:2:daemon:/opt/docker:/bin/bash and restart your environment after the changes.
There is build.sbt file with Docker settings where the mentioned workaround is included:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install play2-war-plugin
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page