Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Dockerfile for RAP deployment(Startup instructions for OSGi-based instance)
Dockerfile for RAP deployment [message #1863565] Sat, 10 February 2024 08:08 Go to next message
Jörn Guy Süß is currently offline Jörn Guy SüßFriend
Messages: 320
Registered: July 2009
Location: Anstead, Brisbane, Queens...
Senior Member

I intend to build a Gitpod with a RAP workbench in it. For that, I need to build a container. I am aware that there is one in https://hub.docker.com/r/eclipsesource/eclipse-rap-demo/tags but it has no Dockerfile instructions attached to it.

I am wondering if anyone has a Dockerfile or at least instructions for a shell-based start of the container.

Any help appreciate.
Re: Dockerfile for RAP deployment [message #1863575 is a reply to message #1863565] Mon, 12 February 2024 10:35 Go to previous messageGo to next message
Markus Knauer is currently offline Markus KnauerFriend
Messages: 179
Registered: July 2009
Senior Member

Hi Jörn,

the Docker image that you referenced is many years old, and I stopped maintaining it since many years, because there were simpler alternatives that fulfilled my use case.

What I am currently using for the RAP Demo deployments is an Apache Tomcat 9 base image. After creating the war files during build time, I am just copying them into the image like in this Dockerfile:

FROM tomcat:9.0.83-jdk17-corretto

ADD controls.war /usr/local/tomcat/webapps/
ADD workbench.war /usr/local/tomcat/webapps/
ADD rapdemo.war /usr/local/tomcat/webapps/


Does that help you to get started?

Regards,
Markus


--

Twitter: @mknauer23 and @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Dockerfile for RAP deployment [message #1863576 is a reply to message #1863575] Mon, 12 February 2024 11:26 Go to previous message
Jörn Guy Süß is currently offline Jörn Guy SüßFriend
Messages: 320
Registered: July 2009
Location: Anstead, Brisbane, Queens...
Senior Member

It does somewhat. I wanted to use the OSGi dispatch with internal webserver, but maybe dispatching through Tomcat is also a good idea.
Previous Topic:Deploy war on Tomcat
Next Topic:How to appear password like *** string ?
Goto Forum:
  


Current Time: Sat Jul 27 04:48:43 GMT 2024

Powered by FUDForum. Page generated in 0.02986 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top