Hi Garrett,

To go a bit more onto details, the tags usually are in the following form: james-project-3.x.x

List of tags here: https://github.com/apache/james-project/tags

Then you have branches with latest fixes on releases, but maybe not released yet (like 3.8.x for example).

The tags have the docker images uploaded on dockerhub. So:

james-project-3.8.0 -> latest release, so tags with latest and 3.8.0 (jpa-3.8.0)

james-project-3.7.4 -> jpa-3.7.4

...

About how to compile it, well Tung gave the answer. There is a readme as well explaining that at the base of the jpa-app module where the docker image is being built with maven and JIB: https://github.com/apache/james-project/tree/master/server/apps/jpa-app

In your case to build it on your own though, I would suggest to checkout the branch with active fixes on it that you want (3.8.x or 3.7.x) and compile it yourself with instructions above.

Regards,

Rene.

On 11/8/23 09:16, Tung Tran Van wrote:
Hi,

James is using JIB to build images (
https://github.com/GoogleContainerTools/jib).

Configured at:
https://github.com/apache/james-project/blob/master/server/apps/jpa-app/pom.xml#L268

For my development, after the command `maven install` the image tar will be
created at server/apps/jpa-app/target/jib-image.tar. After that `docker
load -i jib-image.tar` to get the image. If you want to build image
`apache/james: jpa-3.7.2`, you can `git checkout james-project-3.7.2` and
then run the command maven build.

Cheer,
Tung, Tran Van

On Tue, Nov 7, 2023 at 8:33 PM Garrett Singletary <gsinglet...@concord.net>
wrote:

I am working with James for the first time and am attempting to build my
own image (single node with some custom mailets) using the jpa-app compose
file<
https://github.com/apache/james-project/blob/3.8.x/server/apps/jpa-app/docker-compose.yml>
in 3.8 as a reference. The compose file references the
apache/james:jpa-latest as a base image but I am unable to tie this image
tag back to a tag in GitHub nor find a Dockerfile to see how it was built.
I see tags such as jpa-3.7.2 but again no explicit tie to a git tag, just a
suggestive image tag name (even though I assume this image was built from
the james-project-3.7.2 branch).

How can I know which git tag jpa-latest was built from?
How can I know explicitly which git tag jpa-3.*.* was built from?
Am I able to see the Dockerfile for jpa-latest (this would be really
helpful if Iwanted to compile from src and create a custom image)?

Thanks in advance for any help.


Garrett Singletary




---------------------------------------------------------------------
To unsubscribe, e-mail: server-user-unsubscr...@james.apache.org
For additional commands, e-mail: server-user-h...@james.apache.org

Reply via email to