solidity/scripts/docker_build.sh

13 lines
329 B
Bash
Raw Normal View History

2017-03-17 11:32:49 +00:00
#!/usr/bin/env sh
set -e
# Scratch image
2017-03-17 11:32:49 +00:00
docker build -t ethereum/solc:build -f scripts/Dockerfile .
tmp_container=$(docker create ethereum/solc:build sh)
mkdir -p upload
2017-03-20 13:03:11 +00:00
docker cp ${tmp_container}:/usr/bin/solc upload/solc-static-linux
# Alpine image
docker build -t ethereum/solc:build-alpine -f scripts/Dockerfile_alpine .