Merge pull request #5576 from ethereum/fixDockerScript

Fix manual deploy script for alpine.
This commit is contained in:
chriseth 2018-12-05 12:04:00 +01:00 committed by GitHub
commit a2105b1c5c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,12 @@ tag_and_push()
rm -rf .git rm -rf .git
docker build -t "$image":build -f scripts/Dockerfile . docker build -t "$image":build -f scripts/Dockerfile .
tmp_container=$(docker create "$image":build sh) tmp_container=$(docker create "$image":build sh)
# Alpine image
mkdir -p upload
docker cp ${tmp_container}:/usr/bin/solc upload/solc-static-linux
docker build -t "$image":build-alpine -f scripts/Dockerfile_alpine .
if [ "$branch" = "develop" ] if [ "$branch" = "develop" ]
then then
tag_and_push build nightly tag_and_push build nightly