mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
16d1bf3335
- 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
13 lines
329 B
Bash
Executable File
13 lines
329 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
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 .
|