aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/docker_build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/docker_build.sh')
-rwxr-xr-xscripts/docker_build.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/docker_build.sh b/scripts/docker_build.sh
new file mode 100755
index 00000000..22657a8c
--- /dev/null
+++ b/scripts/docker_build.sh
@@ -0,0 +1,8 @@
+#!/usr/bin/env sh
+
+set -e
+
+docker build -t ethereum/solc:build -f scripts/Dockerfile .
+tmp_container=$(docker create ethereum/solc:build sh)
+mkdir -p upload
+docker cp ${tmp_container}:/usr/bin/solc upload/solc-static-linux