projects
/
cdist.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6980745
)
Add script for making the ccache volume.
author
Carl Hetherington
<cth@carlh.net>
Thu, 4 Jun 2020 15:15:49 +0000
(17:15 +0200)
committer
Carl Hetherington
<cth@carlh.net>
Thu, 4 Jun 2020 15:15:49 +0000
(17:15 +0200)
make-ccache-volume
[new file with mode: 0755]
patch
|
blob
diff --git a/make-ccache-volume
b/make-ccache-volume
new file mode 100755
(executable)
index 0000000..
c79eaa1
--- /dev/null
+++ b/
make-ccache-volume
@@ -0,0
+1,7
@@
+#!/bin/bash
+
+docker volume create ccache
+id=$(docker run --mount source=ccache,target=/ccache -itd ubuntu-18.04-64 bash)
+docker exec $id mkdir /ccache/ubuntu-18.04-64
+docker exec $id chown carl /ccache/ubuntu-18.04-64
+docker kill $id