mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update build_emscripten.sh
This commit is contained in:
parent
9f1f2a2a06
commit
ab70c9cccb
@ -25,6 +25,7 @@ parameters:
|
|||||||
default: "solbuildpackpusher/solidity-buildpack-deps@sha256:a4fc3a41240c3bc58882d3f504e446c6931b547119012f5c45f79b0df91dbdd1"
|
default: "solbuildpackpusher/solidity-buildpack-deps@sha256:a4fc3a41240c3bc58882d3f504e446c6931b547119012f5c45f79b0df91dbdd1"
|
||||||
emscripten-docker-image:
|
emscripten-docker-image:
|
||||||
type: string
|
type: string
|
||||||
|
# NOTE: Please remember to update the `build_emscripten.sh` whenever the hash of this image changes.
|
||||||
# solbuildpackpusher/solidity-buildpack-deps:emscripten-16
|
# solbuildpackpusher/solidity-buildpack-deps:emscripten-16
|
||||||
default: "solbuildpackpusher/solidity-buildpack-deps@sha256:19fcb5ac029bbc27ec36e10f7d14ea224d8010145f9690562ef084fd16146b0c"
|
default: "solbuildpackpusher/solidity-buildpack-deps@sha256:19fcb5ac029bbc27ec36e10f7d14ea224d8010145f9690562ef084fd16146b0c"
|
||||||
evm-version:
|
evm-version:
|
||||||
|
@ -33,9 +33,9 @@ if (( $# != 0 )); then
|
|||||||
params="$(printf "%q " "${@}")"
|
params="$(printf "%q " "${@}")"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# solbuildpackpusher/solidity-buildpack-deps:emscripten-15
|
# solbuildpackpusher/solidity-buildpack-deps:emscripten-16
|
||||||
# NOTE: Without `safe.directory` git would assume it's not safe to operate on /root/project since it's owned by a different user.
|
# NOTE: Without `safe.directory` git would assume it's not safe to operate on /root/project since it's owned by a different user.
|
||||||
# See https://github.blog/2022-04-12-git-security-vulnerability-announced/
|
# See https://github.blog/2022-04-12-git-security-vulnerability-announced/
|
||||||
docker run -v "$(pwd):/root/project" -w /root/project \
|
docker run -v "$(pwd):/root/project" -w /root/project \
|
||||||
solbuildpackpusher/solidity-buildpack-deps@sha256:f86cb1fb4631b1fbb927149f60caea7b095be5b85d379456eee09cb105e7f225 \
|
solbuildpackpusher/solidity-buildpack-deps@sha256:19fcb5ac029bbc27ec36e10f7d14ea224d8010145f9690562ef084fd16146b0c \
|
||||||
/bin/bash -c "git config --global --add safe.directory /root/project && ./scripts/ci/build_emscripten.sh ${params}"
|
/bin/bash -c "git config --global --add safe.directory /root/project && ./scripts/ci/build_emscripten.sh ${params}"
|
||||||
|
Loading…
Reference in New Issue
Block a user