You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by jl...@apache.org on 2025/09/30 07:44:01 UTC
(ofbiz-framework) branch trunk updated: Fixed: Issue while building & pushing OFBiz docker container images (OFBIZ-13296)
This is an automated email from the ASF dual-hosted git repository.
jleroux pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ofbiz-framework.git
The following commit(s) were added to refs/heads/trunk by this push:
new 501fa88145 Fixed: Issue while building & pushing OFBiz docker container images (OFBIZ-13296)
501fa88145 is described below
commit 501fa881455fac7673e8b4ed380e217ad46c0f78
Author: Jacques Le Roux <ja...@les7arts.com>
AuthorDate: Tue Sep 30 09:44:00 2025 +0200
Fixed: Issue while building & pushing OFBiz docker container images (OFBIZ-13296)
I found that an "ofbiz-unspecified.tar" is generated locally. No idea why and
did not find any explanation on the web.
I tried to use
distTar {
version = null
}
before
javadoc {
in build.gradle,
to no avail
So trying to rename
source=/builder/build/distributions/ofbiz.tar
to
source=/builder/build/distributions/ofbiz-unspecified.tar
in Dockerfile keeping
target=/mnt/ofbiz.tar
Let's see...
---
Dockerfile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
index 65687b8e33..a3eb298435 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -78,7 +78,7 @@ USER ofbiz
WORKDIR /ofbiz
# Extract the OFBiz tar distribution created by the builder stage.
-RUN --mount=type=bind,from=builder,source=/builder/build/distributions/ofbiz.tar,target=/mnt/ofbiz.tar \
+RUN --mount=type=bind,from=builder,source=/builder/build/distributions/ofbiz-unspecified.tar,target=/mnt/ofbiz.tar \
["tar", "--extract", "--strip-components=1", "--file=/mnt/ofbiz.tar"]
# Create directories for OFBiz volume mountpoints.