Re: Docker Image Tags
Tung Tran Van <[email protected]>
| Newsgroups | gmane.comp.jakarta.james.user |
|---|---|
| Message-ID | <CACy2Njs6xwSK9K1PwV6+MB8w934Prb+-Yy-Wqmjm2TTAAwWc4g@mail.gmail.com> |
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 <[email protected]> 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 > > > -- Tung, Tran Van *Phone:* (+84) 35 757 6258