diff options
Diffstat (limited to 'update-scripts.sh')
-rwxr-xr-x | update-scripts.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/update-scripts.sh b/update-scripts.sh new file mode 100755 index 000000000000..32c09727de71 --- /dev/null +++ b/update-scripts.sh @@ -0,0 +1,18 @@ +#!/usr/bin/env bash +set -euo pipefail + +# Config +VERSION="11.0-1" + +# Download build scripts +curl -o docker-static-build.sh https://raw.githubusercontent.com/serokell/tezos-packaging/v$VERSION/docker/docker-static-build.sh +curl -o Dockerfile https://raw.githubusercontent.com/serokell/tezos-packaging/v$VERSION/docker/build/Dockerfile +curl -o build-libusb-and-hidapi.sh https://raw.githubusercontent.com/serokell/tezos-packaging/v$VERSION/docker/build/build-libusb-and-hidapi.sh +curl -o build-tezos.sh https://raw.githubusercontent.com/serokell/tezos-packaging/v$VERSION/docker/build/build-tezos.sh +curl -o static_libs.patch https://raw.githubusercontent.com/serokell/tezos-packaging/v$VERSION/docker/build/static_libs.patch + +# Download protocols.json +curl -o protocols.json https://raw.githubusercontent.com/serokell/tezos-packaging/v$VERSION/protocols.json + +# Patch docker-static-build.patch +patch --forward --strip=1 --input="docker-static-build.patch" |