mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Builds both scratch & Alpine Docker images
- Adds `Dockerfile_alpine`, which copies the complier from the scratch
step into an Alpine image
- Updates `docker_build.sh` to build the Alpine image
- Updates `docker_deploy.sh` to tag and push the Alpine images
- Updates `docker_deploy_manual.sh` to tag and push the Alpine images
The tags that are pushed follow:
- Scratch
- ethereum/solc:stable
- ethereum/solc:0.5.1
- ethereum/solc:nightly
- ethereum/solc:nightly-0.5.1-bc7cb301e3d71756c8fbefe888aca53433302117
- ethereum/solc:nightly-0.5.1-bc7cb301e3d71756c8fbefe888aca53433302117
- Alpine
- ethereum/solc:stable-alpine
- ethereum/solc:0.5.1-alpine
- ethereum/solc:nightly-alpine
- ethereum/solc:nightly-alpine-0.5.1-bc7cb301e3d71756c8fbefe888aca53433302117
- ethereum/solc:nightly-alpine-0.5.1-bc7cb301e3d71756c8fbefe888aca53433302117
This commit is contained in:
@@ -2,7 +2,11 @@
|
||||
|
||||
set -e
|
||||
|
||||
# Scratch image
|
||||
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
|
||||
|
||||
# Alpine image
|
||||
docker build -t ethereum/solc:build-alpine -f scripts/Dockerfile_alpine .
|
||||
|
||||
Reference in New Issue
Block a user