#!/bin/bash -vex set -v -e -x export DEBIAN_FRONTEND=noninteractive # Update apt-get lists apt-get update -y # Install dependencies apt-get install -y \ curl \ tar \ jq \ python \ build-essential # Only needed for zstd installation, will be removed later # Install mercurial . /setup/common.sh . /setup/install-mercurial.sh # Install build-image.sh script chmod +x /usr/local/bin/build-image.sh chmod +x /usr/local/bin/run-task # Create workspace mkdir -p /home/worker/workspace # Install zstd 1.1.1 cd /setup tooltool_fetch <