diff options
author | chriseth <chris@ethereum.org> | 2017-03-17 19:32:49 +0800 |
---|---|---|
committer | chriseth <chris@ethereum.org> | 2017-03-17 19:33:40 +0800 |
commit | 252299a1db1b0a4a3a19bd0f514be50be3423a66 (patch) | |
tree | 32a2ca5ed47610ef0bf54367e9ba5a47c1f53452 /scripts/docker_build.sh | |
parent | f9792a617187cc8aa6663fd831e319c94588df45 (diff) | |
download | dexon-solidity-252299a1db1b0a4a3a19bd0f514be50be3423a66.tar.gz dexon-solidity-252299a1db1b0a4a3a19bd0f514be50be3423a66.tar.zst dexon-solidity-252299a1db1b0a4a3a19bd0f514be50be3423a66.zip |
Move docker build to its own script.
Diffstat (limited to 'scripts/docker_build.sh')
-rwxr-xr-x | scripts/docker_build.sh | 8 |
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..3bf7c16f --- /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/ |