aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/rake-compiler-dock/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rake-compiler-dock/build.sh')
-rwxr-xr-xthird_party/rake-compiler-dock/build.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/rake-compiler-dock/build.sh b/third_party/rake-compiler-dock/build.sh
new file mode 100755
index 0000000000..22ffd18cac
--- /dev/null
+++ b/third_party/rake-compiler-dock/build.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# Run this to produce the snipplet of data to insert in the Dockerfile.
+
+echo 'RUN echo \\'
+tar cz build | base64 | sed 's/$/\\/'
+echo '| base64 -d | tar xzC /'