Skip to content

tigase/tigase-maven-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tigase's Docker Maven build package

Supported tags and respective Dockerfiles

What is Tigase Maven image?

It's an image used for building and deploying Tigase artifacts. It contains dedicated settings file with credentials exposed as variables facilating building in CI.

Usage

  • tigase.internalrepo.username and tigase.internalrepo.password for archiva hosted repository
  • tigase.githubrepo.username and tigase.githubrepo.password for (private) maven repository hosted on github

Usage is completely simple and boil down to adding above variables as parameters to mvn command prefixed with -D and setting relevant credentials

docker run -v "$(pwd)":/opt/maven -w /opt/maven --rm tigase/tigase-maven-docker:3-temurin-21 mvn -Dtigase.internalrepo.username=<username> -Dtigase.internalrepo.password=<password> clean install deploy

Building & Publishing

We should build multi-arch images, please prepare build environment as outlined in https://docs.docker.com/desktop/multi-arch/ (because of the limitations of multi-arch one MUST push using build to properly push multi-arch tag)

for VERSION in 17 21 ;  do
  docker buildx build \
    --platform linux/amd64,linux/arm64 \
    --build-arg JDK_VERSION=${JDK_VERSION:-21} \
    -t tigase/tigase-maven-docker:3-temurin-${JDK_VERSION:-21} \
    -f temurin/Dockerfile \
    --no-cache ./ \
    --push
done

License

Tigase Tigase Logo Official Tigase repository is available at: https://github.com/tigase/tigase-server/.

Copyright (c) 2004 Tigase, Inc.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •