...
Code Block | ||||
---|---|---|---|---|
| ||||
mkdir custom-aspire-image mkdir custom-aspire-image/jars |
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, 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 |
Should be called "Dockerfile"
Code Block | ||
---|---|---|
| ||
FROM docker.repository.sca.accenture.com/docker/aspire-basic:5.0.2
ADD jars/* /opt/aspire/bundles/aspire |
docker build -t [image-name]:[image-tag] .
For instance:
Code Block | ||||
---|---|---|---|---|
| ||||
docker build -t custom-aspire:5.0.2 . |
...