-
Bug
-
Resolution: Done
-
Major
-
None
-
-
Undefined
When trying to use the maven repository from an existing build as an "image source" to a new build and verifiy it is possible to configure the extracted maven repo as a local "src" maven repo in an offline maven build.
While building an image from image source, build fails with error:
error: error copying source path /tmp/artifacts/m2/. to .m2: exit status 1
Notable settings
build settings [extract]
spec:
serviceAccount: builder
source:
type: Binary
binary: {}
images:
- from:
kind: DockerImage
name: >-
[previously build image]
paths:
- sourcePath: /tmp/artifacts/m2/.
destinationDir: .m2
strategy:
type: Source
sourceStrategy:
from:
kind: DockerImage
name: >-
docker-registry.upshift.redhat.com/kwills/eap74-openjdk11-openshift-rhel8:CLOUD-3930
env:
- name: MAVEN_ARGS_APPEND
value: '-o'
- name: MAVEN_LOCAL_REPO
value: /tmp/src/.m2
- is caused by
-
CLOUD-3930 EAP 7.4.0.GA OpenShift Image Release
- Closed
- is related to
-
WFWIP-392 Missing library for incremental rebuild of image eap74-openjdk11-openshift-rhel8:CLOUD-3930
- Closed