Easy Heading Free |
---|
navigationTitle | On this Page |
---|
wrapNavigationText | true |
---|
navigationExpandOption | expand-all-by-default |
---|
|
Here are listed some recommendations when deploying Aspire using the container images.
...
- docker.repository.sca.accenture.com/docker/aspire:5.01.2 (online distribution)
- docker.repository.sca.accenture.com/docker/aspire-basic:5.01.2 (offline distribution)
Local Maven repository (development and testing)
...
Login to artifactory docker registry:
Code Block |
---|
|
$ docker login docker.repository.sca.accenture.com |
You'll need to use your registered email/password credentials.
...
- Create a directory for your custom aspire image, and one for the jar files to be downloaded
Code Block |
---|
|
mkdir custom-aspire-image
mkdir custom-aspire-image/jars |
- Download the jar files you'll need
Change directory to your image folder
Code Block |
---|
|
cd custom-aspire-image |
For each premium component you'll need to execute: (where VERSION is 5.0, 5.0.1, 5.0.2, 5.1, 5.1.2 etc, and COMPONENT-ARTIFACT-ID is the maven artifact id of the component)
Code Block |
---|
|
mvn dependency:copy -Dartifact=com.accenture.aspire:[COMPONENT-ARTIFACT-ID]:[VERSION] -Dmdep.useBaseVersion=true -DoutputDirectory=custom-aspire-image/jars |
- Create a Dockerfile based on the official aspire docker image with all the basic jars.
Should be called "Dockerfile"
Code Block |
---|
themelinenumbers | Confluencetrue |
---|
|
FROM docker.repository.sca.accenture.com/docker/aspire-basic:5.1.02
ADD jars/* /opt/aspire/bundles/aspire |
- Build your custom aspire image
docker build -t [image-name]:[image-tag] .
For instance:
Code Block |
---|
|
docker build -t custom-aspire:5.01.2 . |
- Modify your docker-compose.yaml, or .env or kubernetes yaml files to use the new image.
...