[cpp-linbuild] 01/03: Convert to the full-featured bind mount syntax
John W. O'Brien
john at saltant.com
Fri Jan 7 15:04:24 UTC 2022
This is an automated email from the git hooks/post-receive script.
obrienjw pushed a commit to branch main
in repository cpp-linbuild.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-linbuild.git;a=commit;h=ec73ed58c4635950a5126a322548c848adf8f3ba
commit ec73ed58c4635950a5126a322548c848adf8f3ba
Author: John W. O'Brien <john at saltant.com>
AuthorDate: Thu Jan 6 22:50:45 2022 +0000
Convert to the full-featured bind mount syntax
---
Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile b/Makefile
index 500aa4b..d19661a 100644
--- a/Makefile
+++ b/Makefile
@@ -233,8 +233,8 @@ $$($(1)_$(2)_token): $$($(1)_$(2)_image_token) $(SOURCEDIR)/$$($(1)_DISTFILE) $(
grep -E "^Version:[[:space:]]+$$($(1)_VERSION)$$$$" $(SPECDIR)/$$($(1)_COMPNAME).spec
@echo "==> Building $(1) on $(2)"
docker run -it --rm \
- --mount type=bind,source=$(srcdir)os/$(2)/products,target=/opt/build/external/out \
- --mount type=bind,source=$(srcdir)common,target=/opt/build/external/in \
+ -v $(srcdir)os/$(2)/products:/opt/build/external/out \
+ -v $(srcdir)common:/opt/build/external/in \
shibboleth/$(2):$($(1)_COMPNAME) \
/bin/sh /opt/build/external/in/build.sh $($(1)_COMPNAME)
touch $$($(1)_$(2)_token)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list