Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Dirigible/Infrastructure/Update Docker

< Dirigible‎ | Infrastructure
Revision as of 09:22, 8 August 2016 by Delchevn.gmail.com (Talk | contribs) (Created page with "== Update Docker == ==== Install Docker ==== Install Docker: https://docs.docker.com/engine/installation/ ==== Create a Dockerfile ==== Create a Dockerfile for the latest...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Update Docker

Install Docker

Install Docker: https://docs.docker.com/engine/installation/

Create a Dockerfile

Create a Dockerfile for the latest version: https://github.com/eclipse/dirigible/tree/master/org.eclipse.dirigible/org.eclipse.dirigible.parent/releng/docker

Change the download URL within the Docker file:

Build the Images

Trial:

 docker build -f /data/github/dirigible/org.eclipse.dirigible/org.eclipse.dirigible.parent/releng/docker/trial/2.5/Dockerfile -t dirigiblelabs/dirigible-trial:2.5 -t dirigiblelabs/dirigible-trial:latest .

Tomcat:

 docker build -f /data/github/dirigible/org.eclipse.dirigible/org.eclipse.dirigible.parent/releng/docker/tomcat/2.5/Dockerfile -t dirigiblelabs/dirigible-tomcat:2.5 -t dirigiblelabs/dirigible-tomcat:latest .

Check the Images

 docker images

Run an Image

 docker run -p 8888:8080 dirigiblelabs/dirigible-trial <&- &

Stop the Images

 docker ps
 docker stop [ID]

Push the Images

 docker push dirigiblelabs/dirigible-trial
 docker push dirigiblelabs/dirigible-tomcat

Back to the top