Skip to content

Monogramm/docker-axelor-development-kit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Docker Automated buid Docker Pulls

This container is still in development and shouldn't be considered production ready!

Axelor Development Kit on Docker

Docker image for Axelor Development Kit.

Provides full database configuration, production mode, HTTPS enforcer (SSL must be provided by reverse proxy), handles upgrades, and so on...

What is Axelor Development Kit ?

Axelor Development Kit (ADK) is an open source Java framework to create modern business applications.

More informations

Supported tags

https://hub.docker.com/r/monogramm/docker-axelor-development-kit/

  • 5.0.11 5.0 5 latest
  • 4.1.8 4.1 4

How to use this image ?

This image is based on the official Gradle repository.

This image is designed to be used as a base container for building Axelor applications.

Building an Axelor application

You can build your own Dockerfile on top of this one and build your application inside the docker.

FROM monogramm/docker-axelor-development-kit

# Lost from previous image but mandatory for ADK
ENV AXELOR_HOME /opt/adk

COPY ./app .
RUN axelor build

Alternatively, you can run this from the directory of the Axelor application you want to build. Not tested yet!

$ docker run --rm -v "$PWD":/home/gradle/project -w /home/gradle/project monogramm/docker-axelor-development-kit axelor <axelor-task>

Adding Features

If the image does not include the packages you need, you can easily build your own image on top of it. Start your derived image with the FROM statement and add whatever you like.

FROM monogramm/docker-axelor-development-kit

RUN ...

You can also clone this repository and use the update.sh shell script to generate a new Dockerfile based on your own needs.

For instance, you could build a container based on Axelor master branch by setting the update.sh versions like this:

latests=( "master" )

Then simply call update.sh script.

bash update.sh

Your Dockerfile(s) will be generated in the images/master folder.

Updating your own derived image is also very simple. When a new version of the Axelor image is available run:

docker build -t your-name --pull . 
docker run -d your-name

or for docker-compose:

docker-compose build --pull
docker-compose up -d

The --pull option tells docker to look for new versions of the base image. Then the build instructions inside your Dockerfile are run on top of the new image.

Questions / Issues

If you got any questions or problems using the image, please visit our Github Repository and write an issue.