Move docker build to its own script.

This commit is contained in:
chriseth
2017-03-17 12:33:40 +01:00
parent f9792a6171
commit 252299a1db
2 changed files with 9 additions and 6 deletions
+8
View File
@@ -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/