Sign inSign up

tsuru/java

By tsuru

Updated 3 months ago

Image for the Java (OpenJDK) platform in tsuru PaaS.

Image
2

9.0K

tsuru/java repository overview

Java platform

The Java platform supports two kinds of deployment: binary using default tomcat server or code deployment.

##Binary deployment

You can send a jar file, and java platform will run it with default Procfile and tomcat7. Default procfile starts with:

% cat Procfile
web: /var/lib/tsuru/java/start-tomcat

You can set JAVA_MAX_MEMORY enviroment variable to set amount memory to run tomcat, if you don't it will start with 128MB.

##Code deployment

If you just run a git push or tsuru app-deploy of your code, tsuru will try to download all of your dependencies using maven and build your application.

Tag summary

Content type

Image

Digest

sha256:d438de87b

Size

291.2 MB

Last updated

3 months ago

docker pull tsuru/java