]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
Dockerfile.build: improve docker compatibility
authorJohn Mulligan <jmulligan@redhat.com>
Thu, 2 Oct 2025 17:56:28 +0000 (13:56 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Wed, 22 Oct 2025 01:25:11 +0000 (21:25 -0400)
Try to fix:
```
Step 6/18 : COPY     ceph.spec.in     do_cmake.sh     install-deps.sh     run-make-check.sh     src/script/buildcontainer-setup.sh     ${CEPH_CTR_SRC}
When using COPY with more than one source file, the destination must be a directory and end with a /
```

Signed-off-by: John Mulligan <jmulligan@redhat.com>
(cherry picked from commit 8a9b6f84515030fd54cd3fc4e3a5bcb997872548)

Dockerfile.build

index 2f88042aef41655c276af47052f3ea9bc89da1fe..0586cdd37a4b5148f5f54317a06d401e64c46daa 100644 (file)
@@ -13,7 +13,7 @@ COPY \
     install-deps.sh \
     run-make-check.sh \
     src/script/buildcontainer-setup.sh \
-    ${CEPH_CTR_SRC}
+    ${CEPH_CTR_SRC}/
 
 
 FROM $DISTRO